Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/crunch/crunchide Remove the include of <a.out.h>, si...
details: https://anonhg.NetBSD.org/src/rev/c4273955a9a4
branches: trunk
changeset: 746820:c4273955a9a4
user: he <he%NetBSD.org@localhost>
date: Thu Aug 20 17:39:51 2009 +0000
description:
Remove the include of <a.out.h>, since these files do not appear
to need it. Fixes build for mips ports.
Also fix a comment: crunchide walks "the symbol table", not
just "the a.out symbol table".
diffstat:
usr.bin/crunch/crunchide/crunchide.c | 7 +++----
usr.bin/crunch/crunchide/exec_coff.c | 5 ++---
2 files changed, 5 insertions(+), 7 deletions(-)
diffs (61 lines):
diff -r 6e280b19e679 -r c4273955a9a4 usr.bin/crunch/crunchide/crunchide.c
--- a/usr.bin/crunch/crunchide/crunchide.c Thu Aug 20 16:26:55 2009 +0000
+++ b/usr.bin/crunch/crunchide/crunchide.c Thu Aug 20 17:39:51 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crunchide.c,v 1.12 2004/08/24 12:25:26 wiz Exp $ */
+/* $NetBSD: crunchide.c,v 1.13 2009/08/20 17:39:51 he Exp $ */
/*
* Copyright (c) 1997 Christopher G. Demetriou. All rights reserved.
@@ -28,7 +28,7 @@
*/
/*
- * crunchide.c - tiptoes through an a.out symbol table, hiding all defined
+ * crunchide.c - tiptoes through a symbol table, hiding all defined
* global symbols. Allows the user to supply a "keep list" of symbols
* that are not to be hidden. This program relies on the use of the
* linker's -dc flag to actually put global bss data into the file's
@@ -63,7 +63,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: crunchide.c,v 1.12 2004/08/24 12:25:26 wiz Exp $");
+__RCSID("$NetBSD: crunchide.c,v 1.13 2009/08/20 17:39:51 he Exp $");
#endif
#include <unistd.h>
@@ -72,7 +72,6 @@
#include <string.h>
#include <fcntl.h>
#include <errno.h>
-#include <a.out.h>
#include <sys/types.h>
#include <sys/stat.h>
diff -r 6e280b19e679 -r c4273955a9a4 usr.bin/crunch/crunchide/exec_coff.c
--- a/usr.bin/crunch/crunchide/exec_coff.c Thu Aug 20 16:26:55 2009 +0000
+++ b/usr.bin/crunch/crunchide/exec_coff.c Thu Aug 20 17:39:51 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec_coff.c,v 1.6 2003/07/26 20:34:12 salo Exp $ */
+/* $NetBSD: exec_coff.c,v 1.7 2009/08/20 17:39:51 he Exp $ */
/*
* Copyright (c) 1997 Christopher G. Demetriou
@@ -36,7 +36,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: exec_coff.c,v 1.6 2003/07/26 20:34:12 salo Exp $");
+__RCSID("$NetBSD: exec_coff.c,v 1.7 2009/08/20 17:39:51 he Exp $");
#endif
#include <stdio.h>
@@ -44,7 +44,6 @@
#include <string.h>
#include <unistd.h>
#include <errno.h>
-#include <a.out.h>
#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
Home |
Main Index |
Thread Index |
Old Index