From 1cea4fa074458c9fe99266e973c62d6b9e23df1d Mon Sep 17 00:00:00 2001 From: Christian Mehlis Date: Sun, 2 Jun 2013 12:41:27 +0200 Subject: [PATCH 1/3] minor: fix warning from mkdir --- native/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/Makefile b/native/Makefile index da7907f159..86ddb4a6ff 100644 --- a/native/Makefile +++ b/native/Makefile @@ -16,7 +16,7 @@ $(BINDIR)native_base.a: $(OBJ) # compile and generate dependency info $(BINDIR)%.o: %.c - -mkdir $(BINDIR) + -mkdir -p $(BINDIR) $(CC) $(CFLAGS) $(INCLUDES) $(BOARDINCLUDE) $(PROJECTINCLUDE) $(CPUINCLUDE) -c $*.c -o $(BINDIR)$*.o $(CC) $(CFLAGS) $(INCLUDES) $(BOARDINCLUDE) $(PROJECTINCLUDE) $(CPUINCLUDE) -MM $*.c > $(BINDIR)$*.d @printf "$(BINDIR)"|cat - $(BINDIR)$*.d > /tmp/riot_out && mv /tmp/riot_out $(BINDIR)$*.d @@ -24,5 +24,5 @@ $(BINDIR)%.o: %.c # remove compilation products clean: rm -f $(BINDIR)native_base.a $(OBJ) $(DEP) - -rmdir $(BINDIR) + -rmdir -p $(BINDIR) From a6b41814b9d17d9d517b16a9314a43a20a224835 Mon Sep 17 00:00:00 2001 From: Christian Mehlis Date: Sun, 2 Jun 2013 12:42:10 +0200 Subject: [PATCH 2/3] add missing include --- native/board_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/board_init.c b/native/board_init.c index 52e63878fc..d32c653dc9 100644 --- a/native/board_init.c +++ b/native/board_init.c @@ -12,7 +12,7 @@ * @author Ludwig Ortmann * @} */ - +#include #include "board.h" /** From b159234fee9f01cd6fc0994aa8da032aef51cc6f Mon Sep 17 00:00:00 2001 From: Christian Mehlis Date: Sun, 2 Jun 2013 12:42:49 +0200 Subject: [PATCH 3/3] remove unused struct --- native/native-ltc4150.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/native/native-ltc4150.c b/native/native-ltc4150.c index e84501ef2c..2f2d414cf8 100644 --- a/native/native-ltc4150.c +++ b/native/native-ltc4150.c @@ -81,8 +81,6 @@ void ltc4150_sync_blocking(void) */ void ltc4150_arch_init(void) { - struct sigevent sev; - ltc4150_disable_int(); puts("Native LTC4150 initialized.");