Commit d058a428 authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

moved static variables back to .h

parent 28b7821e
...@@ -45,6 +45,11 @@ ...@@ -45,6 +45,11 @@
pthread_mutex_t processMutex = PTHREAD_MUTEX_INITIALIZER; pthread_mutex_t processMutex = PTHREAD_MUTEX_INITIALIZER;
#endif #endif
static process_t Process[MAX_PROCESS];
static int NumProcess = 0;
static int NumProcessActive = 0;
int processCreate(void) int processCreate(void)
{ {
#if defined(HAVE_LIBPTHREAD) #if defined(HAVE_LIBPTHREAD)
......
...@@ -68,10 +68,7 @@ typedef struct { ...@@ -68,10 +68,7 @@ typedef struct {
} }
process_t; process_t;
static process_t Process[MAX_PROCESS];
static int NumProcess = 0;
static int NumProcessActive = 0;
int processSelf(void); int processSelf(void);
int processCreate(void); int processCreate(void);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment