(PP_ACCEPT, PP_KILLIDLE): Move from player.h to empthread.h and turn
into enumeration constants.
#ifndef _EMTHREAD_H_
#define _EMTHREAD_H_
+/* thread priorities */
+enum {
+ PP_MAIN = 7,
+ PP_UPDATE = 6,
+ PP_SHUTDOWN = 5,
+ PP_SCHED = 4,
+ PP_TIMESTAMP = 2,
+ PP_PLAYER = 3,
+ PP_ACCEPT = 3,
+ PP_KILLIDLE = 2
+};
+
#ifdef EMPTH_LWP
#include "lwp.h"
PF_UTF8 = bit(0) /* client wants UTF-8 */
};
-/* thread priorities */
-#define PP_MAIN 7
-#define PP_UPDATE 6
-#define PP_SHUTDOWN 5
-#define PP_SCHED 4
-#define PP_TIMESTAMP 2
-#define PP_PLAYER 3
-#define PP_ACCEPT 3
-#define PP_KILLIDLE 2
-
#endif /* _PLAYER_H_ */
#include <config.h>
-#include <stdio.h>
-#include "prototypes.h"
+#include <time.h>
#include "empthread.h"
/* The thread `created' by lwpInitSystem() */