Cleaned up the include lines to be slightly more portable (I hope.)

This commit is contained in:
Robert James Kaes 2002-04-09 16:28:13 +00:00
parent 3a787ecbfa
commit 2f54303d98
2 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $Id: hashmap.c,v 1.1 2002-04-07 21:30:02 rjkaes Exp $
/* $Id: hashmap.c,v 1.2 2002-04-09 16:28:13 rjkaes Exp $
*
* A hashmap implementation. The keys are case-insensitive NULL terminated
* strings, and the data is arbitrary lumps of data. Copies of both the
@ -30,9 +30,11 @@
#endif
#include <sys/types.h>
#include <inttypes.h>
#include <stdint.h>
#include <ctype.h>
#if defined(HAVE_CTYPE_H)
# include <ctype.h>
#endif
#include <errno.h>
#include <stdlib.h>
#include <string.h>

View File

@ -1,4 +1,4 @@
/* $Id: vector.c,v 1.1 2002-04-07 21:29:23 rjkaes Exp $
/* $Id: vector.c,v 1.2 2002-04-09 16:28:13 rjkaes Exp $
*
* A vector implementation. The vector can be of an arbritrary length, and
* the data for each entry is an lump of data (the size is stored in the
@ -26,7 +26,6 @@
#endif
#include <sys/types.h>
#include <inttypes.h>
#include <errno.h>
#include <stdlib.h>