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 Move the include of <a.out.h> and <...
details: https://anonhg.NetBSD.org/src/rev/c79d15853538
branches: trunk
changeset: 746821:c79d15853538
user: he <he%NetBSD.org@localhost>
date: Thu Aug 20 17:40:26 2009 +0000
description:
Move the include of <a.out.h> and <sys/exec_aout.h> until after
we have determined that the current machine actually supports a.out.
diffstat:
usr.bin/crunch/crunchide/exec_aout.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (37 lines):
diff -r c4273955a9a4 -r c79d15853538 usr.bin/crunch/crunchide/exec_aout.c
--- a/usr.bin/crunch/crunchide/exec_aout.c Thu Aug 20 17:39:51 2009 +0000
+++ b/usr.bin/crunch/crunchide/exec_aout.c Thu Aug 20 17:40:26 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec_aout.c,v 1.11 2009/08/16 18:15:28 martin Exp $ */
+/* $NetBSD: exec_aout.c,v 1.12 2009/08/20 17:40:26 he Exp $ */
/*
* Copyright (c) 1997 Christopher G. Demetriou. All rights reserved.
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: exec_aout.c,v 1.11 2009/08/16 18:15:28 martin Exp $");
+__RCSID("$NetBSD: exec_aout.c,v 1.12 2009/08/20 17:40:26 he Exp $");
#endif
#include <unistd.h>
@@ -37,15 +37,16 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
-#include <a.out.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/exec_aout.h>
#include "extern.h"
#if defined(NLIST_AOUT)
+#include <a.out.h>
+#include <sys/exec_aout.h>
+
int nsyms, ntextrel, ndatarel;
struct exec *hdrp;
char *aoutdata, *strbase;
Home |
Main Index |
Thread Index |
Old Index