summaryrefslogtreecommitdiff
path: root/capplets/file-types/libuuid/isnull.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/file-types/libuuid/isnull.c')
-rw-r--r--capplets/file-types/libuuid/isnull.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/capplets/file-types/libuuid/isnull.c b/capplets/file-types/libuuid/isnull.c
deleted file mode 100644
index 43b81f879..000000000
--- a/capplets/file-types/libuuid/isnull.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * isnull.c --- Check whether or not the UUID is null
- *
- * Copyright (C) 1996, 1997 Theodore Ts'o.
- *
- * %Begin-Header%
- * This file may be redistributed under the terms of the GNU Public
- * License.
- * %End-Header%
- */
-
-#include "uuidP.h"
-
-/* Returns 1 if the uuid is the NULL uuid */
-int uuid_is_null(uuid_t uu)
-{
- unsigned char *cp;
- int i;
-
- for (i=0, cp = uu; i < 16; i++)
- if (*cp++)
- return 0;
- return 1;
-}
-