PERFORCE change 28298 for review
Peter Wemm
peter at FreeBSD.org
Sat Apr 5 21:36:15 PST 2003
http://perforce.freebsd.org/chv.cgi?CH=28298
Change 28298 by peter at peter_overcee on 2003/04/05 21:35:35
sync with committed
Affected files ...
.. //depot/projects/hammer/lib/libstand/printf.c#4 edit
Differences ...
==== //depot/projects/hammer/lib/libstand/printf.c#4 (text+ko) ====
@@ -45,7 +45,6 @@
* Standaloneified version of the FreeBSD kernel printf family.
*/
-#include <sys/param.h>
#include <sys/types.h>
#include <sys/stddef.h>
#include <sys/stdint.h>
@@ -59,7 +58,7 @@
*/
#include <machine/stdarg.h>
-#define MAXNBUF (sizeof(intmax_t) * NBBY + 1)
+#define MAXNBUF (sizeof(intmax_t) * CHAR_BIT + 1)
static char *ksprintn (char *buf, uintmax_t num, int base, int *len);
static int kvprintf(char const *fmt, void (*func)(int), void *arg, int radix, va_list ap);
More information about the p4-projects
mailing list