diff options
author | Yonattan Louise <yonattan.a.louise.mendoza@intel.com> | 2015-05-12 10:43:08 -0500 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2016-02-05 20:13:59 -0500 |
commit | d133f9661d670ca5340dd032ba3630f44d995af9 (patch) | |
tree | e78d038378959efd623838122b6ebf377519f064 /samples/nanokernel/test/test_lifo/src/lifo.c | |
parent | 8c074e2afc7734189a8e678e7a6a478d90dd8ef4 (diff) |
Fix checkpatch issue - WARNING:SPACING
This commit fixes the issue marked as SPACING by the checkpatch script
deleting the whitespaces between the function name and the open parenthesis.
Change-Id: I972b1646904bf6e1131263f94ab5024a528ae07d
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
Diffstat (limited to 'samples/nanokernel/test/test_lifo/src/lifo.c')
-rw-r--r-- | samples/nanokernel/test/test_lifo/src/lifo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/samples/nanokernel/test/test_lifo/src/lifo.c b/samples/nanokernel/test/test_lifo/src/lifo.c index 683289cd9..1a4919538 100644 --- a/samples/nanokernel/test/test_lifo/src/lifo.c +++ b/samples/nanokernel/test/test_lifo/src/lifo.c @@ -101,8 +101,8 @@ static volatile int fiberDetectedFailure = 0; /* non-zero on failure */ static char fiberStack[FIBER_STACKSIZE]; -static void (*_trigger_nano_isr_lifo_put) (void) = (vvfn)sw_isr_trigger_0; -static void (*_trigger_nano_isr_lifo_get) (void) = (vvfn)sw_isr_trigger_1; +static void (*_trigger_nano_isr_lifo_put)(void) = (vvfn)sw_isr_trigger_0; +static void (*_trigger_nano_isr_lifo_get)(void) = (vvfn)sw_isr_trigger_1; static struct nano_lifo multi_waiters; static struct nano_sem reply_multi_waiters; @@ -246,7 +246,7 @@ int fiberLifoNonWaitTest(void) TC_PRINT("Task to get LIFO items without waiting\n"); nano_fiber_lifo_put(&lifoChannel, &lifoItem[0]); nano_fiber_lifo_put(&lifoChannel, &lifoItem[1]); - nano_fiber_sem_give (&taskWaitSem); /* Wake the task (if blocked) */ + nano_fiber_sem_give(&taskWaitSem); /* Wake the task (if blocked) */ /* * Wait for the task to get the items and then trigger an ISR to populate @@ -464,7 +464,7 @@ void initNanoObjects(void) {&isrLifoInfo, &isrLifoInfo}, }; - (void)initIRQ (&i); + (void)initIRQ(&i); nano_lifo_init(&lifoChannel); /* Initialize the LIFO channel */ nano_sem_init(&taskWaitSem); /* Initialize the task waiting semaphore */ |