summaryrefslogtreecommitdiffstats
path: root/src/fiasco.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fiasco.c')
-rw-r--r--src/fiasco.c4
1 files changed, 3 insertions, 1 deletions
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) {