Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen forward declare struct nlist before including n...
details: https://anonhg.NetBSD.org/src/rev/1d6e2e28ee4c
branches: trunk
changeset: 746805:1d6e2e28ee4c
user: martin <martin%NetBSD.org@localhost>
date: Thu Aug 20 11:08:59 2009 +0000
description:
forward declare struct nlist before including nlist_private.h to avoid a
compiler warning.
diffstat:
lib/libc/gen/nlist_aout.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r ccbf51fb7cf8 -r 1d6e2e28ee4c lib/libc/gen/nlist_aout.c
--- a/lib/libc/gen/nlist_aout.c Thu Aug 20 11:07:42 2009 +0000
+++ b/lib/libc/gen/nlist_aout.c Thu Aug 20 11:08:59 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nlist_aout.c,v 1.21 2009/08/20 10:19:36 he Exp $ */
+/* $NetBSD: nlist_aout.c,v 1.22 2009/08/20 11:08:59 martin Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -66,7 +66,7 @@
#if 0
static char sccsid[] = "@(#)nlist.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: nlist_aout.c,v 1.21 2009/08/20 10:19:36 he Exp $");
+__RCSID("$NetBSD: nlist_aout.c,v 1.22 2009/08/20 11:08:59 martin Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -83,6 +83,7 @@
#include <unistd.h>
#include <stdlib.h>
+struct nlist;
#include "nlist_private.h"
#ifdef NLIST_AOUT
Home |
Main Index |
Thread Index |
Old Index