From 462f012d179baa382e7983b479c08b9ad73659af Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sun, 24 Oct 2010 21:39:09 +0000 Subject: Fix return type of iap_getc (should be bool instead of int) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28354 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/iap.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'firmware/export/iap.h') diff --git a/firmware/export/iap.h b/firmware/export/iap.h index fab218cf05..c9a670a05f 100644 --- a/firmware/export/iap.h +++ b/firmware/export/iap.h @@ -20,10 +20,12 @@ #ifndef __IAP_H__ #define __IAP_H__ +#include + #define RX_BUFLEN 260 #define TX_BUFLEN 128 -extern int iap_getc(unsigned char x); +extern bool iap_getc(unsigned char x); extern void iap_setup(int ratenum); extern void iap_bitrate_set(int ratenum); extern void iap_periodic(void); -- cgit v1.2.3