浏览代码

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
Daniel-Constantin Mierla 9 年之前
父节点
当前提交
34b6712542
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sched_yield.h

+ 1 - 1
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