/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1994-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1994-2010, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
* Copyright (C) 1991-3 Stephen Crane
*
* ---
*
* queue.c: queue manipulation routines
- *
+ *
* Known contributors to this file:
*
*/
#include <config.h>
+#include <stddef.h>
#include "lwp.h"
#include "lwpint.h"
struct lwpProc *head;
if ((head = q->head) && !(q->head = head->next))
- q->tail = 0;
+ q->tail = NULL;
return head;
}
else
q->tail->next = p;
q->tail = p;
- p->next = 0;
+ p->next = NULL;
}