Module: kamailio Branch: master Commit: 34b67125424da7ce86b5cac77e30af0711fafac1 URL: https://github.com/kamailio/kamailio/commit/34b67125424da7ce86b5cac77e30af07...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2016-04-20T12:08:17+02:00
core: remove ending parenthesis in ifdef condition
warning: ISO C99 requires whitespace after the macro name sched_yield.h:34:20: warning: extra tokens at end of #ifndef directive #ifndef sched_yield()
- reported by Victore Seva, GH #576
---
Modified: sched_yield.h
---
Diff: https://github.com/kamailio/kamailio/commit/34b67125424da7ce86b5cac77e30af07... Patch: https://github.com/kamailio/kamailio/commit/34b67125424da7ce86b5cac77e30af07...
---
diff --git a/sched_yield.h b/sched_yield.h index 1f8546d..b63f90e 100644 --- a/sched_yield.h +++ b/sched_yield.h @@ -31,7 +31,7 @@ #else #include <unistd.h> /* fake sched_yield */ -#ifndef sched_yield() +#ifndef sched_yield #define sched_yield() sleep(0) #endif #endif