From 077fc61084b19505e38a84b98abd71459ac36256 Mon Sep 17 00:00:00 2001 From: nvt-se Date: Fri, 14 Sep 2007 20:07:26 +0000 Subject: [PATCH] Static should come first because it's a storage class. --- examples/rime/test-abc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/rime/test-abc.c b/examples/rime/test-abc.c index 1704c99e2..e05236561 100644 --- a/examples/rime/test-abc.c +++ b/examples/rime/test-abc.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: test-abc.c,v 1.3 2007/03/25 12:10:29 adamdunkels Exp $ + * $Id: test-abc.c,v 1.4 2007/09/14 20:07:26 nvt-se Exp $ */ /** @@ -55,7 +55,7 @@ abc_recv(struct abc_conn *c) { printf("abc message received '%s'\n", (char *)rimebuf_dataptr()); } -const static struct abc_callbacks abc_call = {abc_recv}; +static const struct abc_callbacks abc_call = {abc_recv}; static struct abc_conn abc; /*---------------------------------------------------------------------------*/ PROCESS_THREAD(test_abc_process, ev, data) @@ -69,7 +69,7 @@ PROCESS_THREAD(test_abc_process, ev, data) while(1) { static struct etimer et; - etimer_set(&et, CLOCK_SECOND * 2); + etimer_set(&et, CLOCK_SECOND); PROCESS_WAIT_EVENT_UNTIL(etimer_expired(&et));