summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/wizard.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-02-28 21:49:33 +0000
committerjhb <jhb@FreeBSD.org>2006-02-28 21:49:33 +0000
commit1ec49d602a80028377023a0fdc8f11d6281a3b18 (patch)
tree29ca37782709cff55cee2300ecd6319423660211 /usr.sbin/sade/wizard.c
parent6dd5abcf92dd9a747d9ec038a372392b97daf728 (diff)
downloadFreeBSD-src-1ec49d602a80028377023a0fdc8f11d6281a3b18.zip
FreeBSD-src-1ec49d602a80028377023a0fdc8f11d6281a3b18.tar.gz
Fix numerous warnings. Aside from menu items in system.c and menu.c
this now compiles on i386 with WARNS?= 3. Most of the fixes included adding missing 'static' keywords to internal functions, using fully-defined terminators in statically defined arrays of structs, and various signed vs unsigned mismatches. Also G/C'd unused configSecurity() function.
Diffstat (limited to 'usr.sbin/sade/wizard.c')
-rw-r--r--usr.sbin/sade/wizard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sade/wizard.c b/usr.sbin/sade/wizard.c
index 98e0a5c..c221e55 100644
--- a/usr.sbin/sade/wizard.c
+++ b/usr.sbin/sade/wizard.c
@@ -15,7 +15,7 @@
#include <err.h>
#include <libdisk.h>
-int
+static int
scan_block(int fd, daddr_t block)
{
u_char foo[512];
@@ -27,7 +27,7 @@ scan_block(int fd, daddr_t block)
return 0;
}
-void
+static void
Scan_Disk(Disk *d)
{
char device[64];
OpenPOWER on IntegriCloud