Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Strict prototypes

  • Loading branch information...
commit 8e3b14fa2e22b20eb2692e896bac7271436b466d 1 parent 7ea720a
Sébastien Bourdeauducq authored January 04, 2012
2  Makefile
@@ -2,7 +2,7 @@ CC=lm32-rtems4.11-gcc
2 2
 LD=lm32-rtems4.11-gcc
3 3
 AR=lm32-rtems4.11-ar
4 4
 
5  
-CFLAGS=-O9 -Wall -mbarrel-shift-enabled -mmultiply-enabled -mdivide-enabled -msign-extend-enabled -I$(RTEMS_MAKEFILE_PATH)/lib/include -I.
  5
+CFLAGS=-O9 -Wall -Wstrict-prototypes -mbarrel-shift-enabled -mmultiply-enabled -mdivide-enabled -msign-extend-enabled -I$(RTEMS_MAKEFILE_PATH)/lib/include -I.
6 6
 
7 7
 OBJS=blob.o pattern_match.o timetag.o method.o message.o server.o
8 8
 
2  lop/lop_lowlevel.h
@@ -46,7 +46,7 @@ extern "C" {
46 46
 /**
47 47
  * \brief Create a new lop_message object
48 48
  */
49  
-lop_message lop_message_new();
  49
+lop_message lop_message_new(void);
50 50
 
51 51
 /**
52 52
  * \brief Free memory allocated by lop_message_new() and any subsequent
2  message.c
@@ -60,7 +60,7 @@ void lop_arg_pp_internal(lop_type type, void *data, int bigendian);
60 60
     while (b > a) {a *= 2;}
61 61
 #endif
62 62
 
63  
-lop_message lop_message_new()
  63
+lop_message lop_message_new(void)
64 64
 {
65 65
     lop_message m = malloc(sizeof(struct _lop_message));
66 66
     if (!m) {

0 notes on commit 8e3b14f

Please sign in to comment.
Something went wrong with that request. Please try again.