irq: suppress warning on !CONFIG_KERN_PREEMPT
[bertos.git] / bertos / kern / proc.h
index db681ede2c828535dafad80376004d74f32552b2..8a18bf7447c8fcc623cddefccfb89734ea82c704 100644 (file)
@@ -77,6 +77,10 @@ void proc_rename(struct Process *proc, const char *name);
 const char *proc_name(struct Process *proc);
 const char *proc_currentName(void);
 
+#if CONFIG_KERN_PRI
+void proc_setPri(struct Process *proc, int pri);
+#endif
+
 /**
  * Disable preemptive task switching.
  *