* mlibc/include/stdio.h (fprintf): Declare.
* mlibc/libc-mes+tcc.c (fprintf): Add stub.
typedef int FILE;
+#ifndef __MES_SIZE_T
+#define __MES_SIZE_T
+typedef unsigned long size_t;
+#endif
+
int eputs (char const* s);
+int fprintf (FILE *stream, char const *format, ...);
int fputc (int c, int fd);
int fputs (char const* s, int fd);
int getchar ();
*/
#include <libc-mes.c>
+#include <stdio.h>
#include <string.h>
#include <time.h>
asm ("int____$0x80");
}
+int
+fprintf (FILE *stream, char const *format, ...)
+{
+ return 0;
+}
+
struct tm *
localtime (time_t const *timep)
{