summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/disks.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/sysinstall/disks.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/sysinstall/disks.c')
-rw-r--r--usr.sbin/sysinstall/disks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c
index b60012f..68dd987 100644
--- a/usr.sbin/sysinstall/disks.c
+++ b/usr.sbin/sysinstall/disks.c
@@ -180,7 +180,7 @@ print_chunks(Disk *d, int u)
}
static void
-print_command_summary()
+print_command_summary(void)
{
mvprintw(14, 0, "The following commands are supported (in upper or lower case):");
mvprintw(16, 0, "A = Use Entire Disk G = set Drive Geometry C = Create Slice F = `DD' mode");
OpenPOWER on IntegriCloud