summaryrefslogtreecommitdiff
path: root/usr.bin/printf/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/printf/printf.c')
-rw-r--r--usr.bin/printf/printf.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/usr.bin/printf/printf.c b/usr.bin/printf/printf.c
index a72b597572b..859be7d9ba0 100644
--- a/usr.bin/printf/printf.c
+++ b/usr.bin/printf/printf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: printf.c,v 1.5 2001/11/19 19:02:15 mpech Exp $ */
+/* $OpenBSD: printf.c,v 1.6 2002/02/16 21:27:51 millert Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@@ -43,7 +43,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)printf.c 5.9 (Berkeley) 6/1/90";*/
-static char rcsid[] = "$OpenBSD: printf.c,v 1.5 2001/11/19 19:02:15 mpech Exp $";
+static char rcsid[] = "$OpenBSD: printf.c,v 1.6 2002/02/16 21:27:51 millert Exp $";
#endif /* not lint */
#include <ctype.h>
@@ -55,18 +55,18 @@ static char rcsid[] = "$OpenBSD: printf.c,v 1.5 2001/11/19 19:02:15 mpech Exp $"
#include <errno.h>
#include <err.h>
-static int print_escape_str __P((const char *));
-static int print_escape __P((const char *));
-
-static int getchr __P((void));
-static double getdouble __P((void));
-static int getint __P((void));
-static long getlong __P((void));
-static unsigned long getulong __P ((void));
-static char *getstr __P((void));
-static char *mklong __P((const char *, int));
-static void check_conversion __P((const char *, const char *));
-static void usage __P((void));
+static int print_escape_str(const char *);
+static int print_escape(const char *);
+
+static int getchr(void);
+static double getdouble(void);
+static int getint(void);
+static long getlong(void);
+static unsigned long getulong(void);
+static char *getstr(void);
+static char *mklong(const char *, int);
+static void check_conversion(const char *, const char *);
+static void usage(void);
static int rval;
static char **gargv;