Fix warnings.
authorlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 1 Sep 2009 13:20:25 +0000 (13:20 +0000)
committerlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 1 Sep 2009 13:20:25 +0000 (13:20 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2841 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/kern/msg_test.c
bertos/mware/ini_reader.h
bertos/struct/kfile_fifo.h

index 22a79bdf7a78dd3608adbc7213ac693c921c23a9..0deac2c87d6ec981d01559289fde6b7f57c030cb 100644 (file)
@@ -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(;;) \
index 828c0f633ab40009ed1492e03834a88388f6cc85..2ac27203d3c8805f6d968a9fabcb44338134f401 100644 (file)
@@ -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 */
index b5842786471eaa806ce9b0e5b92f0029166e111f..78c1f46d3740deff0b99aae1e67d6bfc810269ec 100644 (file)
@@ -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 */