You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by gs...@locus.apache.org on 2000/12/06 20:47:15 UTC
cvs commit: apr/include/arch/unix misc.h
gstein 00/12/06 11:47:14
Modified: include/arch/unix misc.h
Log:
toss datastruct. no longer used.
Revision Changes Path
1.23 +10 -13 apr/include/arch/unix/misc.h
Index: misc.h
===================================================================
RCS file: /home/cvs/apr/include/arch/unix/misc.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -u -r1.22 -r1.23
--- misc.h 2000/08/06 06:07:16 1.22
+++ misc.h 2000/12/06 19:47:13 1.23
@@ -64,31 +64,28 @@
#include "apr_file_io.h"
#include "apr_errno.h"
#include "apr_getopt.h"
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
+
#if APR_HAVE_STDIO_H
#include <stdio.h>
#endif
-#ifdef HAVE_STRING_H
-#include <string.h>
-#endif
#if APR_HAVE_SIGNAL_H
#include <signal.h>
#endif
#if APR_HAVE_PTHREAD_H
#include <pthread.h>
#endif
+
+/* ### create APR_HAVE_* macros for these? */
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+
#ifdef BEOS
#include <kernel/OS.h>
#endif
-
-typedef struct datastruct {
- const void *data;
- const char *key;
- struct datastruct *next;
- struct datastruct *prev;
-} datastruct;
struct apr_other_child_rec_t {
struct apr_other_child_rec_t *next;