diff options
| author | mycroft <mycroft@NetBSD.org> | 1993-04-19 07:39:27 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 1993-04-19 07:39:27 +0000 |
| commit | 0b3fc2c11f20557e5a78a4864b186e2ffae51bde (patch) | |
| tree | 3917fdaaf424126e8b6c10308bb05dd9efd3c70b /usr.bin/printf/printf.c | |
| parent | f19d90d7fe3c23d33b59d4f3b2215aa4e6cfb6c9 (diff) | |
Cleanup for GCC 2.
Diffstat (limited to 'usr.bin/printf/printf.c')
| -rw-r--r-- | usr.bin/printf/printf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/printf/printf.c b/usr.bin/printf/printf.c index a64e4d4c4d2..055ad0c9171 100644 --- a/usr.bin/printf/printf.c +++ b/usr.bin/printf/printf.c @@ -43,6 +43,7 @@ static char sccsid[] = "@(#)printf.c 5.9 (Berkeley) 6/1/90"; #include <sys/types.h> #include <stdio.h> +#include <string.h> #define PF(f, func) { \ if (fieldwidth) \ @@ -65,7 +66,7 @@ main(argc, argv) static char *skip1, *skip2; register char *format, *fmt, *start; register int end, fieldwidth, precision; - char convch, nextch, *getstr(), *index(), *mklong(); + char convch, nextch, *getstr(), *mklong(); double getdouble(); long getlong(); |
