I've studied stdarg.h, and have my own args.h that is pretty similar.
The problem is this; when I try to compile I get this error:
Code: Select all
sources/libc/printf.c: In function `printf':
sources/libc/printf.c:10: `AP' undeclared (first use in this function)
sources/libc/printf.c:10: (Each undeclared identifier is reported only once
sources/libc/printf.c:10: for each function it appears in.)
sources/libc/printf.c:10: `LASTARG' undeclared (first use in this function)
sources/libc/printf.c:10: `TYPE' undeclared (first use in this function)