summaryrefslogtreecommitdiffstats
path: root/rbutil/chinachippatcher/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/chinachippatcher/main.c')
-rw-r--r--rbutil/chinachippatcher/main.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/rbutil/chinachippatcher/main.c b/rbutil/chinachippatcher/main.c
index 12b3a3543f..0553b7d798 100644
--- a/rbutil/chinachippatcher/main.c
+++ b/rbutil/chinachippatcher/main.c
@@ -25,24 +25,6 @@
#define VERSION "0.1"
#define PRINT(fmt, ...) fprintf(stderr, fmt"\n", ##__VA_ARGS__)
-static void info(void* userdata, char* fmt, ...)
-{
- (void)userdata;
- va_list args;
- va_start(args, fmt);
- vfprintf(stderr, fmt, args);
- va_end(args);
-}
-
-static void err(void* userdata, char* fmt, ...)
-{
- (void)userdata;
- va_list args;
- va_start(args, fmt);
- vfprintf(stderr, fmt, args);
- va_end(args);
-}
-
void usage(char* name)
{
PRINT("Usage:");
@@ -66,7 +48,6 @@ int main(int argc, char* argv[])
return 1;
}
- return chinachip_patch(argv[1], argv[2], argv[3], argc > 4 ? argv[4] : NULL,
- &info, &err, NULL);
+ return chinachip_patch(argv[1], argv[2], argv[3], argc > 4 ? argv[4] : NULL);
}