From 027a6d9a18b8767969127ffc1c4a734fec4b840b Mon Sep 17 00:00:00 2001 From: Pali Rohár Date: Sat, 23 Jun 2012 17:39:33 +0200 Subject: Fix compilation warnings --- src/fiasco.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/fiasco.c') diff --git a/src/fiasco.c b/src/fiasco.c index c767407..3446364 100644 --- a/src/fiasco.c +++ b/src/fiasco.c @@ -28,6 +28,8 @@ #include "main.h" #include "hash.h" +char *strdup(const char *s); + int (*fiasco_callback)(struct header_t *header) = NULL; int openfiasco(const char *name, const char *piece_grep, int v) @@ -306,7 +308,7 @@ int fiasco_new(const char *filename, const char *swver) { int fd; unsigned int len; - uint8_t len8; + unsigned char len8; const char *str = "OSSO UART+USB"; if (swver && strlen(swver)+1 > UINT8_MAX) { -- cgit v1.2.3