(EMPTH_LWP, EMPTH_POSIX, EMPTH_W32): Define in config.h instead of

compiler command line.  Don't bother to conditionalize code in .c
files that are only compiled when their thread package is used.

(_EMPTH_LWP, EMPTH_LWP, _EMPTH_POSIX, EMPTH_POSIX, _EMPTH_WIN32)
(EMPTH_W32): Identifiers beginning with an underscore and an uppercase
letter are reserved for any use.  Rename.
This commit is contained in:
Markus Armbruster 2005-12-28 14:27:15 +00:00
parent b921d3c262
commit 69150d10fc
14 changed files with 23 additions and 58 deletions

View file

@ -26,8 +26,6 @@
#include "lwp.h"
#include "lwpint.h"
#if defined(_EMPTH_LWP)
struct lwpProc *
lwpGetFirst(struct lwpQueue *q)
{
@ -48,5 +46,3 @@ lwpAddTail(register struct lwpQueue *q, register struct lwpProc *p)
q->tail = p;
p->next = 0;
}
#endif