From a0134ff35efc7dd635ba8af45b7de5c0290bf680 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Sat, 18 Mar 2017 14:06:11 +0100
Subject: [PATCH] Beautified SLIP macros.
---
platform/c128/contiki-main.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/platform/c128/contiki-main.c b/platform/c128/contiki-main.c
index a6eef0176..940601e9b 100644
--- a/platform/c128/contiki-main.c
+++ b/platform/c128/contiki-main.c
@@ -41,12 +41,12 @@
#if WITH_SLIP
#define DRIVER_PROCESS &slip_process,
-#define SLIP_INIT slip_arch_init(0);
-#define SLIP_POLL slip_arch_poll();
+#define SLIP_INIT() slip_arch_init(0)
+#define SLIP_POLL() slip_arch_poll()
#else /* WITH_SLIP */
#define DRIVER_PROCESS ðernet_process,
-#define SLIP_INIT
-#define SLIP_POLL
+#define SLIP_INIT()
+#define SLIP_POLL()
#endif /* WITH_SLIP */
#if WITH_GUI
@@ -95,7 +95,7 @@ main(void)
config_read("contiki.cfg");
- SLIP_INIT
+ SLIP_INIT();
process_init();
procinit_init();
@@ -109,7 +109,7 @@ main(void)
etimer_request_poll();
- SLIP_POLL
+ SLIP_POLL();
}
}
/*-----------------------------------------------------------------------------------*/