dgaudet 98/02/22 16:05:41
Modified: src/include conf.h
src/main buff.c http_core.c
src/modules/experimental mod_mmap_static.c
src/modules/standard mod_unique_id.c
Log:
We have NO_UNISTD_H, but we don't use it in conf.h ... surely this is a
mistake. Clean up unistd.h usage elsewhere as well.
Revision Changes Path
1.184 +1 -1 apache-1.3/src/include/conf.h
Index: conf.h
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/include/conf.h,v
retrieving revision 1.183
retrieving revision 1.184
diff -u -r1.183 -r1.184
--- conf.h 1998/02/22 21:14:54 1.183
+++ conf.h 1998/02/23 00:05:36 1.184
@@ -909,7 +909,7 @@
#define LOGNAME_MAX 25
#endif
-#if !defined(NEXT) && !defined(WIN32)
+#ifndef NO_UNISTD_H
#include <unistd.h>
#endif
1.65 +0 -3 apache-1.3/src/main/buff.c
Index: buff.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/main/buff.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- buff.c 1998/02/12 21:13:18 1.64
+++ buff.c 1998/02/23 00:05:37 1.65
@@ -59,9 +59,6 @@
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
-#ifndef NO_UNISTD_H
-#include <unistd.h>
-#endif
#ifndef NO_WRITEV
#include <sys/types.h>
#include <sys/uio.h>
1.164 +0 -1 apache-1.3/src/main/http_core.c
Index: http_core.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/main/http_core.c,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -r1.163 -r1.164
--- http_core.c 1998/02/21 20:32:06 1.163
+++ http_core.c 1998/02/23 00:05:38 1.164
@@ -67,7 +67,6 @@
#include "fnmatch.h"
#ifdef USE_MMAP_FILES
-#include <unistd.h>
#include <sys/mman.h>
/* mmap support for static files based on ideas from John Heidemann's
1.2 +0 -1 apache-1.3/src/modules/experimental/mod_mmap_static.c
Index: mod_mmap_static.c
===================================================================
RCS file:
/export/home/cvs/apache-1.3/src/modules/experimental/mod_mmap_static.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mod_mmap_static.c 1998/02/10 11:00:58 1.1
+++ mod_mmap_static.c 1998/02/23 00:05:40 1.2
@@ -107,7 +107,6 @@
#include <fcntl.h>
#include <errno.h>
#include <string.h>
-#include <unistd.h>
#include <sys/mman.h>
#include "httpd.h"
1.13 +0 -1 apache-1.3/src/modules/standard/mod_unique_id.c
Index: mod_unique_id.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_unique_id.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- mod_unique_id.c 1998/02/05 07:52:34 1.12
+++ mod_unique_id.c 1998/02/23 00:05:41 1.13
@@ -61,7 +61,6 @@
#include "http_config.h"
#include "http_log.h"
#include "multithread.h"
-#include <unistd.h>
#ifdef MULTITHREAD
#error sorry this module does not support multithreaded servers yet