diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2003-05-20 19:23:02 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2003-05-20 19:23:02 +0000 |
commit | 73a52abddee37a7b9bbb9dde311fa3bf6044931c (patch) | |
tree | 784bd349489635deb44c2974827a47beb50f5720 /sys | |
parent | 479f3d11b9ef87938678013dacbf63c5830ffd32 (diff) |
de-register; ok millert
Diffstat (limited to 'sys')
-rw-r--r-- | sys/lib/libsa/printf.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/lib/libsa/printf.c b/sys/lib/libsa/printf.c index b3ea67de348..8d6d33b03da 100644 --- a/sys/lib/libsa/printf.c +++ b/sys/lib/libsa/printf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printf.c,v 1.17 2002/03/15 18:19:52 millert Exp $ */ +/* $OpenBSD: printf.c,v 1.18 2003/05/20 19:23:01 jason Exp $ */ /* $NetBSD: printf.c,v 1.10 1996/11/30 04:19:21 gwr Exp $ */ /*- @@ -114,10 +114,9 @@ kdoprnt(put, fmt, ap) const char *fmt; va_list ap; { - register char *p; - register int ch; + char *p; unsigned long ul; - int lflag; + int ch, lflag; for (;;) { while ((ch = *fmt++) != '%') { @@ -133,7 +132,7 @@ reswitch: switch (ch = *fmt++) { #ifndef STRIPPED case 'b': { - register int set, n; + int set, n; ul = va_arg(ap, int); p = va_arg(ap, char *); kprintn(put, ul, *p++); |