summaryrefslogtreecommitdiff
path: root/dso/aix
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-11-09 06:08:37 +0000
committerRyan Bloom <rbb@apache.org>2000-11-09 06:08:37 +0000
commitcd00b8a98a5bb5dc37ecdb758af14b34ea5a89ce (patch)
tree6704d337f8c09496807817c5a3b8afa05cc3365b /dso/aix
parentbc99e1a199fe4185661c1eebef7b0916712e46fb (diff)
downloadapr-cd00b8a98a5bb5dc37ecdb758af14b34ea5a89ce.tar.gz
Move all of the dso private header files to an arch directory under
the include directory. All private header files for APR are being moved. This allows platforms that only implement some of the APR types to compile cleanly. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60652 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dso/aix')
-rw-r--r--dso/aix/Makefile.in2
-rw-r--r--dso/aix/dso.c2
-rw-r--r--dso/aix/dso.h78
3 files changed, 2 insertions, 80 deletions
diff --git a/dso/aix/Makefile.in b/dso/aix/Makefile.in
index f755b93e6..c5df58c36 100644
--- a/dso/aix/Makefile.in
+++ b/dso/aix/Makefile.in
@@ -10,7 +10,7 @@ CFLAGS=@CFLAGS@ @OPTIM@
LIBS=@LIBS@
LDFLAGS=@LDFLAGS@ $(LIBS)
INCDIR=../../include
-INCLUDES=-I$(INCDIR) -I$(INCDIR1) -I.
+INCLUDES=-I$(INCDIR) -I$(INCDIR)/arch
LIB=libdso.a
diff --git a/dso/aix/dso.c b/dso/aix/dso.c
index 5e10b4ce2..4b10f1fe3 100644
--- a/dso/aix/dso.c
+++ b/dso/aix/dso.c
@@ -85,7 +85,7 @@
#include <sys/types.h>
#include <sys/ldr.h>
#include <a.out.h>
-#include "dso.h"
+#include "aix/dso.h"
#if APR_HAS_DSO
diff --git a/dso/aix/dso.h b/dso/aix/dso.h
deleted file mode 100644
index 6b7ca8ea7..000000000
--- a/dso/aix/dso.h
+++ /dev/null
@@ -1,78 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" must
- * not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * nor may "Apache" appear in their name, without prior written
- * permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * <http://www.apache.org/>.
- */
-
-#ifndef DSO_H
-#define DSO_H
-
-#include "apr_private.h"
-#include "apr_general.h"
-#include "apr_pools.h"
-#include "apr_dso.h"
-#include "apr.h"
-
-#if APR_HAS_DSO
-
-void *dlopen(const char *path, int mode);
-void *dlsym(void *handle, const char *symbol);
-const char *dlerror(void);
-int dlclose(void *handle);
-
-struct apr_dso_handle_t {
- apr_pool_t *cont;
- void *handle;
-};
-
-#endif
-
-#endif