projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Silent some gcc "no previous prototype" build warnings.
[bertos.git]
/
bertos
/
kern
/
proc_test.c
diff --git
a/bertos/kern/proc_test.c
b/bertos/kern/proc_test.c
index 5adcbc0160f25adb2cb713614ad20aa016f6fb77..dc2a075c9dd2e23a7f3df8320660658de6726cee 100644
(file)
--- a/
bertos/kern/proc_test.c
+++ b/
bertos/kern/proc_test.c
@@
-217,7
+217,7
@@
static void preempt_worker(void)
if (UNLIKELY(*my_count == (unsigned int)~0))
*my_count = 1;
}
if (UNLIKELY(*my_count == (unsigned int)~0))
*my_count = 1;
}
- PROC_ATOMIC(kprintf("> %s[%zd] completed: (counter = %
d
)\n",
+ PROC_ATOMIC(kprintf("> %s[%zd] completed: (counter = %
lu
)\n",
__func__, pid, *my_count));
for (i = 0; i < TASKS; i++)
if (!preempt_counter[i])
__func__, pid, *my_count));
for (i = 0; i < TASKS; i++)
if (!preempt_counter[i])