Remove plenty of legacy names marked as OBSOLETE
[bertos.git] / bertos / kern / proc.h
index 8a18bf7447c8fcc623cddefccfb89734ea82c704..6f1a8af5be69c463a860e760fcebb53f31b835fb 100644 (file)
@@ -65,7 +65,6 @@ struct Process *proc_new_with_name(const char* name, void (*entry)(void), iptr_t
 
 void proc_exit(void);
 void proc_yield(void);
-#define proc_switch proc_yield /* OBSOLETE */
 
 int proc_testSetup(void);
 int proc_testRun(void);
@@ -78,7 +77,11 @@ const char *proc_name(struct Process *proc);
 const char *proc_currentName(void);
 
 #if CONFIG_KERN_PRI
-void proc_setPri(struct Process *proc, int pri);
+       void proc_setPri(struct Process *proc, int pri);
+#else
+       INLINE void proc_setPri(UNUSED_ARG(struct Process *,proc), UNUSED_ARG(int, pri))
+       {
+       }
 #endif
 
 /**
@@ -184,8 +187,6 @@ INLINE void proc_permit(void)
        #endif
 #endif
 
-#define CONFIG_PROC_DEFSTACKSIZE CONFIG_KERN_MINSTACKSIZE // OBSOLETE
-
 /* Memory fill codes to help debugging */
 #if CONFIG_KERN_MONITOR
        #include <cpu/types.h>