summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/anonFTP.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/anonFTP.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/anonFTP.c')
-rw-r--r--usr.sbin/sysinstall/anonFTP.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/anonFTP.c b/usr.sbin/sysinstall/anonFTP.c
index 206b1b1..7427076 100644
--- a/usr.sbin/sysinstall/anonFTP.c
+++ b/usr.sbin/sysinstall/anonFTP.c
@@ -115,7 +115,7 @@ static Layout layout[] = {
{ 19, 35, 0, 0,
"CANCEL", "Select this if you wish to cancel this screen",
&cancelbutton, BUTTONOBJ, NULL },
- { 0 },
+ LAYOUT_END,
};
static int
OpenPOWER on IntegriCloud