projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ddfa89
)
Avoid warning for unused arg when compiled without some CONFIG_KERN_xx options
author
aleph
<aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 13 Jul 2004 19:21:28 +0000
(19:21 +0000)
committer
aleph
<aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 13 Jul 2004 19:21:28 +0000
(19:21 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@45
38d2e660
-2303-0410-9eaa-
f027e97ec537
kern/proc.c
patch
|
blob
|
history
diff --git
a/kern/proc.c
b/kern/proc.c
index b735846dff82490fdfc6ddeefffbe89ecdb43767..99f844bfaec3fe4205674a30e189399fd4024b4b 100755
(executable)
--- a/
kern/proc.c
+++ b/
kern/proc.c
@@
-17,6
+17,9
@@
/*
* $Log$
+ * Revision 1.4 2004/07/13 19:21:28 aleph
+ * Avoid warning for unused arg when compiled without some CONFIG_KERN_xx options
+ *
* Revision 1.3 2004/06/06 18:37:57 bernie
* Rename event macros to look like regular functions.
*
@@
-69,6
+72,9
@@
struct Process MainProcess;
static void proc_init_struct(Process* proc)
{
+ /* Avoid warning for unused argument */
+ (void)proc;
+
#if CONFIG_KERN_TIMER
event_initSignal(&proc->proc_timer.expire, proc, SIG_SINGLE);
#endif