Skip to content

Commit

Permalink
Strict prototypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bourdeauducq committed Jan 4, 2012
1 parent 7ea720a commit 8e3b14f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lop/lop_lowlevel.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion message.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 8e3b14f

Please sign in to comment.