Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/misc add include of stdlib.h, for use of setprogname()...



details:   https://anonhg.NetBSD.org/src/rev/83f2862dd1c4
branches:  trunk
changeset: 504056:83f2862dd1c4
user:      cgd <cgd%NetBSD.org@localhost>
date:      Wed Feb 21 00:04:43 2001 +0000

description:
add include of stdlib.h, for use of setprogname() & getprogname()

diffstat:

 share/misc/style |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 8ca6e2bc5297 -r 83f2862dd1c4 share/misc/style
--- a/share/misc/style  Tue Feb 20 23:51:59 2001 +0000
+++ b/share/misc/style  Wed Feb 21 00:04:43 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: style,v 1.17 2001/02/19 22:46:47 cgd Exp $ */
+/* $NetBSD: style,v 1.18 2001/02/21 00:04:43 cgd Exp $ */
 
 /*
  * The revision control tag appears first, with a blank line after it.
@@ -30,7 +30,7 @@
 #ifndef __lint
 __COPYRIGHT("@(#) Copyright (c) 2000\n\
        The NetBSD Foundation, inc. All rights reserved.\n");
-__RCSID("$NetBSD: style,v 1.17 2001/02/19 22:46:47 cgd Exp $");
+__RCSID("$NetBSD: style,v 1.18 2001/02/21 00:04:43 cgd Exp $");
 #endif /* !__lint */
 
 /*
@@ -85,6 +85,7 @@
  * The /usr include files should be sorted!
  */
 #include <stdio.h>
+#include <stdlib.h>
 
 /*
  * Global pathnames are defined in /usr/include/paths.h.  Pathnames local



Home | Main Index | Thread Index | Old Index