Skip to content
Permalink
Browse files
Strict prototypes
  • Loading branch information
Sebastien Bourdeauducq committed Jan 4, 2012
1 parent 7ea720a commit 8e3b14fa2e22b20eb2692e896bac7271436b466d
Showing with 3 additions and 3 deletions.
  1. +1 −1 Makefile
  2. +1 −1 lop/lop_lowlevel.h
  3. +1 −1 message.c
@@ -2,7 +2,7 @@ CC=lm32-rtems4.11-gcc
LD=lm32-rtems4.11-gcc
AR=lm32-rtems4.11-ar

CFLAGS=-O9 -Wall -mbarrel-shift-enabled -mmultiply-enabled -mdivide-enabled -msign-extend-enabled -I$(RTEMS_MAKEFILE_PATH)/lib/include -I.
CFLAGS=-O9 -Wall -Wstrict-prototypes -mbarrel-shift-enabled -mmultiply-enabled -mdivide-enabled -msign-extend-enabled -I$(RTEMS_MAKEFILE_PATH)/lib/include -I.

OBJS=blob.o pattern_match.o timetag.o method.o message.o server.o

@@ -46,7 +46,7 @@ extern "C" {
/**
* \brief Create a new lop_message object
*/
lop_message lop_message_new();
lop_message lop_message_new(void);

/**
* \brief Free memory allocated by lop_message_new() and any subsequent
@@ -60,7 +60,7 @@ void lop_arg_pp_internal(lop_type type, void *data, int bigendian);
while (b > a) {a *= 2;}
#endif

lop_message lop_message_new()
lop_message lop_message_new(void)
{
lop_message m = malloc(sizeof(struct _lop_message));
if (!m) {

0 comments on commit 8e3b14f

Please sign in to comment.