1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #754 from Kijewski/pthread_reaper_stack-linkage

`pthread_reaper_stack` has global linkage for no proper reason.
This commit is contained in:
Christian Mehlis 2014-02-21 20:32:22 +01:00
commit b2dbf3dcae

View File

@ -35,11 +35,11 @@
#define ENABLE_DEBUG (1)
#if ENABLE_DEBUG
#define PTHREAD_REAPER_STACKSIZE KERNEL_CONF_STACKSIZE_MAIN
#define PTHREAD_STACKSIZE KERNEL_CONF_STACKSIZE_MAIN
# define PTHREAD_REAPER_STACKSIZE KERNEL_CONF_STACKSIZE_MAIN
# define PTHREAD_STACKSIZE KERNEL_CONF_STACKSIZE_MAIN
#else
#define PTHREAD_REAPER_STACKSIZE KERNEL_CONF_STACKSIZE_DEFAULT
#define PTHREAD_STACKSIZE KERNEL_CONF_STACKSIZE_DEFAULT
# define PTHREAD_REAPER_STACKSIZE KERNEL_CONF_STACKSIZE_DEFAULT
# define PTHREAD_STACKSIZE KERNEL_CONF_STACKSIZE_DEFAULT
#endif
#include "debug.h"
@ -68,7 +68,7 @@ static struct mutex_t pthread_mutex;
static volatile int pthread_reaper_pid = -1;
char pthread_reaper_stack[PTHREAD_REAPER_STACKSIZE];
static char pthread_reaper_stack[PTHREAD_REAPER_STACKSIZE];
static void pthread_start_routine(void)
{