summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/fprintf.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1997-07-13 20:14:49 +0000
committerchristos <christos@NetBSD.org>1997-07-13 20:14:49 +0000
commit23312f88d4b11dae32cb90d5d36bef818d71da64 (patch)
treefb64144f3a82878387d2d60735cde64786f4744e /lib/libc/stdio/fprintf.c
parentc63c52b238fd8e7e280488dccb1b8ba9adc4308b (diff)
Fix RCSID's
Fix gcc warnings. Add prototypes for functions that were declared in more than one place to local.h or extern.h and use that instead.
Diffstat (limited to 'lib/libc/stdio/fprintf.c')
-rw-r--r--lib/libc/stdio/fprintf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/stdio/fprintf.c b/lib/libc/stdio/fprintf.c
index 7efbda7d529..7e1fde409f3 100644
--- a/lib/libc/stdio/fprintf.c
+++ b/lib/libc/stdio/fprintf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fprintf.c,v 1.5 1995/02/02 02:09:26 jtc Exp $ */
+/* $NetBSD: fprintf.c,v 1.6 1997/07/13 20:15:00 christos Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -36,11 +36,13 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
#if 0
static char sccsid[] = "@(#)fprintf.c 8.1 (Berkeley) 6/4/93";
+#else
+__RCSID("$NetBSD: fprintf.c,v 1.6 1997/07/13 20:15:00 christos Exp $");
#endif
-static char rcsid[] = "$NetBSD: fprintf.c,v 1.5 1995/02/02 02:09:26 jtc Exp $";
#endif /* LIBC_SCCS and not lint */
#include <stdio.h>