Module Name: src Committed By: he Date: Thu Aug 20 17:39:51 UTC 2009
Modified Files: src/usr.bin/crunch/crunchide: crunchide.c exec_coff.c Log Message: 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". To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/usr.bin/crunch/crunchide/crunchide.c cvs rdiff -u -r1.6 -r1.7 src/usr.bin/crunch/crunchide/exec_coff.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/crunch/crunchide/crunchide.c diff -u src/usr.bin/crunch/crunchide/crunchide.c:1.12 src/usr.bin/crunch/crunchide/crunchide.c:1.13 --- src/usr.bin/crunch/crunchide/crunchide.c:1.12 Tue Aug 24 12:25:26 2004 +++ src/usr.bin/crunch/crunchide/crunchide.c Thu Aug 20 17:39:51 2009 @@ -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> Index: src/usr.bin/crunch/crunchide/exec_coff.c diff -u src/usr.bin/crunch/crunchide/exec_coff.c:1.6 src/usr.bin/crunch/crunchide/exec_coff.c:1.7 --- src/usr.bin/crunch/crunchide/exec_coff.c:1.6 Sat Jul 26 20:34:12 2003 +++ src/usr.bin/crunch/crunchide/exec_coff.c Thu Aug 20 17:39:51 2009 @@ -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>