Source-Changes-HG archive

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

[src/trunk]: src/bin/sh Include <stdio.h> to get the prototype for sprintf(3)...



details:   https://anonhg.NetBSD.org/src/rev/39f1b933985d
branches:  trunk
changeset: 539765:39f1b933985d
user:      agc <agc%NetBSD.org@localhost>
date:      Mon Nov 25 21:55:58 2002 +0000

description:
Include <stdio.h> to get the prototype for sprintf(3) - macppc needs this.

diffstat:

 bin/sh/eval.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 531739b3f9ae -r 39f1b933985d bin/sh/eval.c
--- a/bin/sh/eval.c     Mon Nov 25 21:24:28 2002 +0000
+++ b/bin/sh/eval.c     Mon Nov 25 21:55:58 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: eval.c,v 1.68 2002/11/24 22:35:39 christos Exp $       */
+/*     $NetBSD: eval.c,v 1.69 2002/11/25 21:55:58 agc Exp $    */
 
 /*-
  * Copyright (c) 1993
@@ -41,11 +41,12 @@
 #if 0
 static char sccsid[] = "@(#)eval.c     8.9 (Berkeley) 6/8/95";
 #else
-__RCSID("$NetBSD: eval.c,v 1.68 2002/11/24 22:35:39 christos Exp $");
+__RCSID("$NetBSD: eval.c,v 1.69 2002/11/25 21:55:58 agc Exp $");
 #endif
 #endif /* not lint */
 
 #include <signal.h>
+#include <stdio.h>
 #include <unistd.h>
 #include <sys/times.h>
 



Home | Main Index | Thread Index | Old Index