core: moved definition of KERNEL_PID_NULL

kernel_pid_t is defined in kernel_types.h, thus it makes sense to move
the macro for an invalid kernel pid there, too.
This commit is contained in:
Oleg Hahm 2014-08-06 09:24:56 +02:00
parent b6cf2fa37f
commit 0836cd0b18
2 changed files with 6 additions and 6 deletions

View File

@ -67,12 +67,6 @@
#endif #endif
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */
/**
* @def PID_NULL
* @brief Identifier to detect an invalid PID
*/
#define KERNEL_PID_NULL -1
/** /**
* @def PRIORITY_MIN * @def PRIORITY_MIN
* @brief Least priority a thread can have * @brief Least priority a thread can have

View File

@ -4,6 +4,12 @@
#include <stdint.h> #include <stdint.h>
#include <inttypes.h> #include <inttypes.h>
/**
* @def KERNEL_PID_NULL
* @brief Identifier to detect an invalid PID
*/
#define KERNEL_PID_NULL -1
/** /**
* Macro for printing formatter * Macro for printing formatter
*/ */