- Import patches from Osvaldo Santana * Fix build on gcc 4 * Fix nanddump call definition (ignore oob added) * Fixed some stupid bugs with -pedantic -std=c99

release 0.3.1
This commit is contained in:
pancake committed 2007-11-20 04:14:13 +01:00
1 parent fbdac811fc
commit 4115aab13d
11 files changed
+71 -46

No files matched your search

+10
View File
@@ -20,6 +20,7 @@
#include <usb.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
unsigned long get_file_size(char *file)
@@ -53,3 +54,12 @@ void progressbar(unsigned long long part, unsigned long long total)
printf("]\r");
fflush(stdout);
}
void eprintf(const char *format, ...)
{
va_list ap;
va_start(ap, format);
vfprintf(stderr, format, ap);
va_end(ap);
//fflush(stderr); // XXX CRASH?!? stdin here?!?!?
}