rbb 99/06/14 12:31:35
Modified: apr/test server.c client.c
Log:
More cleanup up for cross-platform compiles.
Revision Changes Path
1.9 +2 -4 apache-apr/apr/test/server.c
Index: server.c
===================================================================
RCS file: /home/cvs/apache-apr/apr/test/server.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- server.c 1999/06/14 12:43:12 1.8
+++ server.c 1999/06/14 19:31:34 1.9
@@ -53,10 +53,6 @@
*
*/
-#include <stdio.h>
-#include <sys/time.h>
-#include <sys/types.h>
-#include <unistd.h>
#include "apr_network_io.h"
#include "apr_errno.h"
#include "apr_general.h"
@@ -196,5 +192,7 @@
exit(-1);
}
fprintf(stdout, "OK\n");
+
+ return 1;
}
1.9 +3 -7 apache-apr/apr/test/client.c
Index: client.c
===================================================================
RCS file: /home/cvs/apache-apr/apr/test/client.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- client.c 1999/05/27 13:07:45 1.8
+++ client.c 1999/06/14 19:31:34 1.9
@@ -57,10 +57,6 @@
#include "apr_errno.h"
#include "apr_general.h"
#include "errno.h"
-#include <sys/types.h>
-#include <sys/time.h>
-#include <stdio.h>
-#include <unistd.h>
#define STRLEN 15
@@ -68,10 +64,8 @@
{
ap_context_t *context;
ap_socket_t *sock;
- ap_int32_t rv;
ap_ssize_t length;
ap_status_t stat;
- struct timeval timeout;
char datasend[STRLEN] = "Send data test";
char datarecv[STRLEN];
@@ -154,4 +148,6 @@
exit(-1);
}
fprintf(stdout, "OK\n");
-}
+
+ return 1;
+}
\ No newline at end of file