Module Name:    src
Committed By:   dholland
Date:           Tue Jun 19 06:06:34 UTC 2012

Modified Files:
        src/libexec/ftpd: cmds.c ftpd.c

Log Message:
Pass WARNS=5


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/libexec/ftpd/cmds.c
cvs rdiff -u -r1.197 -r1.198 src/libexec/ftpd/ftpd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/ftpd/cmds.c
diff -u src/libexec/ftpd/cmds.c:1.30 src/libexec/ftpd/cmds.c:1.31
--- src/libexec/ftpd/cmds.c:1.30	Sun Mar 15 07:48:36 2009
+++ src/libexec/ftpd/cmds.c	Tue Jun 19 06:06:34 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: cmds.c,v 1.30 2009/03/15 07:48:36 lukem Exp $	*/
+/*	$NetBSD: cmds.c,v 1.31 2012/06/19 06:06:34 dholland Exp $	*/
 
 /*
  * Copyright (c) 1999-2009 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: cmds.c,v 1.30 2009/03/15 07:48:36 lukem Exp $");
+__RCSID("$NetBSD: cmds.c,v 1.31 2012/06/19 06:06:34 dholland Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -845,9 +845,7 @@ replydirname(const char *name, const cha
 }
 
 static void
-discover_path(last_path, new_path) 
-	char *last_path;
-	const char *new_path;
+discover_path(char *last_path, const char *new_path) 
 {
 	char tp[MAXPATHLEN + 1] = "";
 	char tq[MAXPATHLEN + 1] = "";

Index: src/libexec/ftpd/ftpd.c
diff -u src/libexec/ftpd/ftpd.c:1.197 src/libexec/ftpd/ftpd.c:1.198
--- src/libexec/ftpd/ftpd.c:1.197	Fri Sep 16 16:13:17 2011
+++ src/libexec/ftpd/ftpd.c	Tue Jun 19 06:06:34 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: ftpd.c,v 1.197 2011/09/16 16:13:17 plunky Exp $	*/
+/*	$NetBSD: ftpd.c,v 1.198 2012/06/19 06:06:34 dholland Exp $	*/
 
 /*
  * Copyright (c) 1997-2009 The NetBSD Foundation, Inc.
@@ -97,7 +97,7 @@ __COPYRIGHT("@(#) Copyright (c) 1985, 19
 #if 0
 static char sccsid[] = "@(#)ftpd.c	8.5 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: ftpd.c,v 1.197 2011/09/16 16:13:17 plunky Exp $");
+__RCSID("$NetBSD: ftpd.c,v 1.198 2012/06/19 06:06:34 dholland Exp $");
 #endif
 #endif /* not lint */
 
@@ -2938,7 +2938,7 @@ statxfer(void)
  * by setting transflag to 0. (c.f., "ABOR").
  */
 static int
-handleoobcmd()
+handleoobcmd(void)
 {
 	char *cp;
 	int ret;

Reply via email to