Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Strict prototypes

  • Loading branch information...
commit 8e3b14fa2e22b20eb2692e896bac7271436b466d 1 parent 7ea720a
@sbourdeauducq sbourdeauducq authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  Makefile
  2. +1 −1  lop/lop_lowlevel.h
  3. +1 −1  message.c
View
2  Makefile
@@ -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
View
2  lop/lop_lowlevel.h
@@ -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
View
2  message.c
@@ -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.
Something went wrong with that request. Please try again.