Drop main() prototype. Syncs with NetBSD-8
[minix.git] / minix / lib / libsys / kprintf.c
blob6453349e7765d0d6850993ee036b5f757aaa7b68
1 /* printf() - system services printf() Author: Kees J. Bot
2 * 15 Jan 1994
3 */
4 #define nil 0
5 #include <stdarg.h>
6 #include <stdio.h>
7 #include <stddef.h>
8 #include <limits.h>
10 int printf(const char *fmt, ...)
12 int n;
13 va_list ap;
15 va_start(ap, fmt);
16 n = vprintf(fmt, ap);
17 va_end(ap);
19 return n;