]> git.saurik.com Git - apple/libc.git/blobdiff - gen/disklabel.c
Libc-320.tar.gz
[apple/libc.git] / gen / disklabel.c
index 68b8a4f49b7da39303e65e9fcdcec2f1ca09f7b6..5058b93e7fabb13cd555fa877f0a85f633db217c 100644 (file)
 #include <unistd.h>
 #include <ctype.h>
 
-static int     error __P((int));
-static int     gettype __P((char *, char **));
+#ifdef unused
+static int     error(int);
+#endif // unused
+static int     gettype(char *, char **);
 
 struct disklabel *
 getdiskbyname(name)
@@ -192,6 +194,7 @@ gettype(t, names)
        return (0);
 }
 
+#ifdef unused
 static int
 error(err)
        int err;
@@ -205,3 +208,4 @@ error(err)
        (void)write(STDERR_FILENO, p, strlen(p));
        (void)write(STDERR_FILENO, "\n", 1);
 }
+#endif // unused