Silent some gcc "no previous prototype" build warnings.
[bertos.git] / bertos / kern / coop.c
index 2173126017acf0ffb2187ae5b0a3fb6f085c1ef2..c874ca36f8bdaac539f3078c4b70efc5fe6e79c5 100644 (file)
  */
 EXTERN_C void asm_switch_context(cpu_stack_t **new_sp, cpu_stack_t **save_sp);
 
+/**
+ * Define function prototypes exported outside.
+ *
+ * Required to silent gcc "no previous prototype" warnings.
+ */
+void coop_yield(void);
+void coop_switch(void);
 
 /**
  * System scheduler: pass CPU control to the next process in