Loading...
--- Libc/Libc-498/gen/disklabel.c
+++ Libc/Libc-262.3.2/gen/disklabel.c
@@ -2,6 +2,8 @@
* Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
+ *
+ * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
@@ -69,10 +71,8 @@
#include <unistd.h>
#include <ctype.h>
-#ifdef unused
-static int error(int);
-#endif // unused
-static int gettype(char *, char **);
+static int error __P((int));
+static int gettype __P((char *, char **));
struct disklabel *
getdiskbyname(name)
@@ -192,7 +192,6 @@
return (0);
}
-#ifdef unused
static int
error(err)
int err;
@@ -206,4 +205,3 @@
(void)write(STDERR_FILENO, p, strlen(p));
(void)write(STDERR_FILENO, "\n", 1);
}
-#endif // unused