Source-Changes-HG archive

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

[src/trunk]: src/sbin/dump remove ancient crap



details:   https://anonhg.NetBSD.org/src/rev/1d76b086a9cc
branches:  trunk
changeset: 779134:1d76b086a9cc
user:      christos <christos%NetBSD.org@localhost>
date:      Sat May 05 21:03:02 2012 +0000

description:
remove ancient crap

diffstat:

 sbin/dump/dump.h |  14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)

diffs (28 lines):

diff -r 31f6cbb242f3 -r 1d76b086a9cc sbin/dump/dump.h
--- a/sbin/dump/dump.h  Sat May 05 20:48:51 2012 +0000
+++ b/sbin/dump/dump.h  Sat May 05 21:03:02 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dump.h,v 1.46 2010/02/26 02:11:40 christos Exp $       */
+/*     $NetBSD: dump.h,v 1.47 2012/05/05 21:03:02 christos Exp $       */
 
 /*-
  * Copyright (c) 1980, 1993
@@ -282,18 +282,6 @@
 
 void   sig(int signo);
 
-/*
- * Compatibility with old systems.
- */
-#ifdef COMPAT
-#include <sys/file.h>
-#define        strchr(a,b)     index(a,b)
-#define        strrchr(a,b)    rindex(a,b)
-extern char *strdup(), *ctime();
-extern int read(), write();
-extern int errno;
-#endif
-
 #ifndef        _PATH_FSTAB
 #define        _PATH_FSTAB     "/etc/fstab"
 #endif



Home | Main Index | Thread Index | Old Index