Module Name:    src
Committed By:   joerg
Date:           Mon Aug 29 14:49:38 UTC 2011

Modified Files:
        src/bin/rmdir: rmdir.c

Log Message:
static + __dead


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/bin/rmdir/rmdir.c

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

Modified files:

Index: src/bin/rmdir/rmdir.c
diff -u src/bin/rmdir/rmdir.c:1.25 src/bin/rmdir/rmdir.c:1.26
--- src/bin/rmdir/rmdir.c:1.25	Sun Jul 20 00:52:40 2008
+++ src/bin/rmdir/rmdir.c	Mon Aug 29 14:49:38 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: rmdir.c,v 1.25 2008/07/20 00:52:40 lukem Exp $ */
+/* $NetBSD: rmdir.c,v 1.26 2011/08/29 14:49:38 joerg Exp $ */
 
 /*-
  * Copyright (c) 1992, 1993, 1994
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)rmdir.c	8.3 (Berkeley) 4/2/94";
 #else
-__RCSID("$NetBSD: rmdir.c,v 1.25 2008/07/20 00:52:40 lukem Exp $");
+__RCSID("$NetBSD: rmdir.c,v 1.26 2011/08/29 14:49:38 joerg Exp $");
 #endif
 #endif /* not lint */
 
@@ -52,9 +52,8 @@
 #include <string.h>
 #include <unistd.h>
 
-int	rm_path(char *);
-void	usage(void);
-int	main(int, char *[]);
+static int	rm_path(char *);
+__dead static void	usage(void);
 
 int
 main(int argc, char *argv[])
@@ -93,7 +92,7 @@
 	/* NOTREACHED */
 }
 
-int
+static int
 rm_path(char *path)
 {
 	char *p;
@@ -113,7 +112,7 @@
 	return (0);
 }
 
-void
+static void
 usage(void)
 {
 	(void)fprintf(stderr, "usage: %s [-p] directory ...\n", getprogname());

Reply via email to