Module Name:    src
Committed By:   martin
Date:           Thu Aug 20 11:08:59 UTC 2009

Modified Files:
        src/lib/libc/gen: nlist_aout.c

Log Message:
forward declare struct nlist before including nlist_private.h to avoid a
compiler warning.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/lib/libc/gen/nlist_aout.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/gen/nlist_aout.c
diff -u src/lib/libc/gen/nlist_aout.c:1.21 src/lib/libc/gen/nlist_aout.c:1.22
--- src/lib/libc/gen/nlist_aout.c:1.21	Thu Aug 20 10:19:36 2009
+++ src/lib/libc/gen/nlist_aout.c	Thu Aug 20 11:08:59 2009
@@ -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

Reply via email to