Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/hexdump Do the defined(__RCSID) song and dance to en...



details:   https://anonhg.NetBSD.org/src/rev/ca2f4cb8bc7f
branches:  trunk
changeset: 544130:ca2f4cb8bc7f
user:      augustss <augustss%NetBSD.org@localhost>
date:      Wed Mar 12 16:46:33 2003 +0000

description:
Do the defined(__RCSID) song and dance to enable cross compilation.

diffstat:

 usr.bin/hexdump/hexdump.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r abee8f4b938a -r ca2f4cb8bc7f usr.bin/hexdump/hexdump.c
--- a/usr.bin/hexdump/hexdump.c Wed Mar 12 16:46:31 2003 +0000
+++ b/usr.bin/hexdump/hexdump.c Wed Mar 12 16:46:33 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hexdump.c,v 1.8 2002/11/12 22:41:01 kleink Exp $       */
+/*     $NetBSD: hexdump.c,v 1.9 2003/03/12 16:46:33 augustss Exp $     */
 
 /*
  * Copyright (c) 1989, 1993
@@ -34,16 +34,16 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__COPYRIGHT) && !defined(lint)
 __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
        The Regents of the University of California.  All rights reserved.\n");
 #endif /* not lint */
 
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)hexdump.c  8.1 (Berkeley) 6/6/93";
 #else
-__RCSID("$NetBSD: hexdump.c,v 1.8 2002/11/12 22:41:01 kleink Exp $");
+__RCSID("$NetBSD: hexdump.c,v 1.9 2003/03/12 16:46:33 augustss Exp $");
 #endif
 #endif /* not lint */
 



Home | Main Index | Thread Index | Old Index