Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/dump unifdef !__STDC__ (missed in previous)



details:   https://anonhg.NetBSD.org/src/rev/9239a4836dc1
branches:  trunk
changeset: 510392:9239a4836dc1
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon May 28 00:41:14 2001 +0000

description:
unifdef !__STDC__ (missed in previous)

diffstat:

 sbin/dump/dumprmt.c   |   6 ++----
 sbin/dump/ffs_inode.c |   6 ++----
 sbin/dump/itime.c     |   6 ++----
 sbin/dump/optr.c      |  11 ++---------
 sbin/dump/tape.c      |   8 ++------
 sbin/dump/traverse.c  |   6 ++----
 6 files changed, 12 insertions(+), 31 deletions(-)

diffs (191 lines):

diff -r 7a3569c9a6cc -r 9239a4836dc1 sbin/dump/dumprmt.c
--- a/sbin/dump/dumprmt.c       Mon May 28 00:15:10 2001 +0000
+++ b/sbin/dump/dumprmt.c       Mon May 28 00:41:14 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dumprmt.c,v 1.24 2001/05/27 14:17:56 lukem Exp $       */
+/*     $NetBSD: dumprmt.c,v 1.25 2001/05/28 00:41:14 lukem Exp $       */
 
 /*-
  * Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)dumprmt.c  8.3 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: dumprmt.c,v 1.24 2001/05/27 14:17:56 lukem Exp $");
+__RCSID("$NetBSD: dumprmt.c,v 1.25 2001/05/28 00:41:14 lukem Exp $");
 #endif
 #endif /* not lint */
 
@@ -69,11 +69,9 @@
 #include <pwd.h>
 #include <signal.h>
 #include <stdio.h>
-#ifdef __STDC__
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
-#endif
 
 #include "pathnames.h"
 #include "dump.h"
diff -r 7a3569c9a6cc -r 9239a4836dc1 sbin/dump/ffs_inode.c
--- a/sbin/dump/ffs_inode.c     Mon May 28 00:15:10 2001 +0000
+++ b/sbin/dump/ffs_inode.c     Mon May 28 00:41:14 2001 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: ffs_inode.c,v 1.4 2001/05/27 14:17:56 lukem Exp $ */
+/*      $NetBSD: ffs_inode.c,v 1.5 2001/05/28 00:41:14 lukem Exp $ */
 
 /*-
  * Copyright (c) 1980, 1991, 1993, 1994
@@ -43,7 +43,7 @@
 #if 0
 static char sccsid[] = "@(#)main.c      8.6 (Berkeley) 5/1/95";
 #else
-__RCSID("$NetBSD: ffs_inode.c,v 1.4 2001/05/27 14:17:56 lukem Exp $");
+__RCSID("$NetBSD: ffs_inode.c,v 1.5 2001/05/28 00:41:14 lukem Exp $");
 #endif
 #endif /* not lint */
 
@@ -69,10 +69,8 @@
 #include <errno.h>
 #include <fts.h>
 #include <stdio.h>
-#ifdef __STDC__
 #include <string.h>
 #include <unistd.h>
-#endif
 
 #include "dump.h"
 
diff -r 7a3569c9a6cc -r 9239a4836dc1 sbin/dump/itime.c
--- a/sbin/dump/itime.c Mon May 28 00:15:10 2001 +0000
+++ b/sbin/dump/itime.c Mon May 28 00:41:14 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: itime.c,v 1.9 2001/05/27 14:17:56 lukem Exp $  */
+/*     $NetBSD: itime.c,v 1.10 2001/05/28 00:41:14 lukem Exp $ */
 
 /*-
  * Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)itime.c    8.1 (Berkeley) 6/5/93";
 #else
-__RCSID("$NetBSD: itime.c,v 1.9 2001/05/27 14:17:56 lukem Exp $");
+__RCSID("$NetBSD: itime.c,v 1.10 2001/05/28 00:41:14 lukem Exp $");
 #endif
 #endif /* not lint */
 
@@ -59,12 +59,10 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
-#ifdef __STDC__
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
 #include <unistd.h>
-#endif
 
 #include "dump.h"
 
diff -r 7a3569c9a6cc -r 9239a4836dc1 sbin/dump/optr.c
--- a/sbin/dump/optr.c  Mon May 28 00:15:10 2001 +0000
+++ b/sbin/dump/optr.c  Mon May 28 00:41:14 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: optr.c,v 1.15 2001/05/27 14:17:56 lukem Exp $  */
+/*     $NetBSD: optr.c,v 1.16 2001/05/28 00:41:14 lukem Exp $  */
 
 /*-
  * Copyright (c) 1980, 1988, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)optr.c     8.2 (Berkeley) 1/6/94";
 #else
-__RCSID("$NetBSD: optr.c,v 1.15 2001/05/27 14:17:56 lukem Exp $");
+__RCSID("$NetBSD: optr.c,v 1.16 2001/05/28 00:41:14 lukem Exp $");
 #endif
 #endif /* not lint */
 
@@ -51,20 +51,13 @@
 #include <grp.h>
 #include <signal.h>
 #include <stdio.h>
-#ifdef __STDC__
 #include <stdlib.h>
 #include <string.h>
 #include <stdarg.h>
-#endif
 #include <time.h>
 #include <tzfile.h>
-#ifdef __STDC__
 #include <unistd.h>
-#endif
 #include <utmp.h>
-#ifndef __STDC__
-#include <varargs.h>
-#endif
 
 #include "dump.h"
 #include "pathnames.h"
diff -r 7a3569c9a6cc -r 9239a4836dc1 sbin/dump/tape.c
--- a/sbin/dump/tape.c  Mon May 28 00:15:10 2001 +0000
+++ b/sbin/dump/tape.c  Mon May 28 00:41:14 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tape.c,v 1.26 2001/05/27 14:17:57 lukem Exp $  */
+/*     $NetBSD: tape.c,v 1.27 2001/05/28 00:41:14 lukem Exp $  */
 
 /*-
  * Copyright (c) 1980, 1991, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)tape.c     8.4 (Berkeley) 5/1/95";
 #else
-__RCSID("$NetBSD: tape.c,v 1.26 2001/05/27 14:17:57 lukem Exp $");
+__RCSID("$NetBSD: tape.c,v 1.27 2001/05/28 00:41:14 lukem Exp $");
 #endif
 #endif /* not lint */
 
@@ -64,14 +64,10 @@
 #include <setjmp.h>
 #include <signal.h>
 #include <stdio.h>
-#ifdef __STDC__
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
 #include <unistd.h>
-#else
-int    write(), read();
-#endif
 
 #include "dump.h"
 #include "pathnames.h"
diff -r 7a3569c9a6cc -r 9239a4836dc1 sbin/dump/traverse.c
--- a/sbin/dump/traverse.c      Mon May 28 00:15:10 2001 +0000
+++ b/sbin/dump/traverse.c      Mon May 28 00:41:14 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: traverse.c,v 1.29 2001/05/27 14:17:57 lukem Exp $      */
+/*     $NetBSD: traverse.c,v 1.30 2001/05/28 00:41:14 lukem Exp $      */
 
 /*-
  * Copyright (c) 1980, 1988, 1991, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)traverse.c 8.7 (Berkeley) 6/15/95";
 #else
-__RCSID("$NetBSD: traverse.c,v 1.29 2001/05/27 14:17:57 lukem Exp $");
+__RCSID("$NetBSD: traverse.c,v 1.30 2001/05/28 00:41:14 lukem Exp $");
 #endif
 #endif /* not lint */
 
@@ -64,10 +64,8 @@
 #include <errno.h>
 #include <fts.h>
 #include <stdio.h>
-#ifdef __STDC__
 #include <string.h>
 #include <unistd.h>
-#endif
 
 #include "dump.h"
 



Home | Main Index | Thread Index | Old Index