From: lottaviano Date: Tue, 1 Sep 2009 13:20:25 +0000 (+0000) Subject: Fix warnings. X-Git-Tag: 2.2.0~127 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=0c71afa65077b10d069192c1d36c0df1440e1b97;p=bertos.git Fix warnings. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2841 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/kern/msg_test.c b/bertos/kern/msg_test.c index 22a79bdf..0deac2c8 100644 --- a/bertos/kern/msg_test.c +++ b/bertos/kern/msg_test.c @@ -95,7 +95,7 @@ * These macros generate the code needed to create the test process functions. */ #define RECV_PROC(num, sig) \ -static void receiver_proc##num(void) \ +static NORETURN void receiver_proc##num(void) \ { \ TestMsg *rec_msg; \ for(;;) \ diff --git a/bertos/mware/ini_reader.h b/bertos/mware/ini_reader.h index 828c0f63..2ac27203 100644 --- a/bertos/mware/ini_reader.h +++ b/bertos/mware/ini_reader.h @@ -68,4 +68,7 @@ */ int ini_getString(KFile *fd, const char *section, const char *key, const char *default_value, char *buf, size_t size); +int ini_reader_testSetup(void); +int ini_reader_testRun(void); +int ini_reader_testTearDown(void); #endif /* INI_READER_H */ diff --git a/bertos/struct/kfile_fifo.h b/bertos/struct/kfile_fifo.h index b5842786..78c1f46d 100644 --- a/bertos/struct/kfile_fifo.h +++ b/bertos/struct/kfile_fifo.h @@ -94,4 +94,7 @@ INLINE KFileFifo * KFILEFIFO_CAST(KFile *fd) */ void kfilefifo_init(KFileFifo *kf, FIFOBuffer *fifo); +int kfilefifo_testSetup(void); +int kfilefifo_testRun(void); +int kfilefifo_testTearDown(void); #endif /* STRUCT_KFILE_FIFO */