summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/arch/unix/mmap.c2
-rw-r--r--include/arch/unix/networkio.h3
-rw-r--r--mmap/beos/mmap.c2
-rw-r--r--mmap/beos/mmap_h.h2
-rw-r--r--mmap/unix/mmap.c2
-rw-r--r--mmap/unix/mmap_h.h2
-rw-r--r--network_io/unix/networkio.h3
-rw-r--r--network_io/unix/poll.c4
8 files changed, 5 insertions, 15 deletions
diff --git a/include/arch/unix/mmap.c b/include/arch/unix/mmap.c
index 0c763a800..c2c48869a 100644
--- a/include/arch/unix/mmap.c
+++ b/include/arch/unix/mmap.c
@@ -62,7 +62,7 @@
#if HAVE_MMAP
-ap_status_t mmap_cleanup(void *themmap)
+static ap_status_t mmap_cleanup(void *themmap)
{
ap_mmap_t *mm = themmap;
int rv;
diff --git a/include/arch/unix/networkio.h b/include/arch/unix/networkio.h
index 6ebb096e6..d3e3f732c 100644
--- a/include/arch/unix/networkio.h
+++ b/include/arch/unix/networkio.h
@@ -134,8 +134,5 @@ struct ap_pollfd_t {
};
-ap_int16_t get_event(ap_int16_t);
-ap_int16_t get_revent(ap_int16_t);
-
#endif /* ! NETWORK_IO_H */
diff --git a/mmap/beos/mmap.c b/mmap/beos/mmap.c
index 21ea428c8..6d56d39f3 100644
--- a/mmap/beos/mmap.c
+++ b/mmap/beos/mmap.c
@@ -54,7 +54,7 @@
#include "mmap_h.h"
-ap_status_t mmap_cleanup(void *themmap)
+static ap_status_t mmap_cleanup(void *themmap)
{
ap_mmap_t *mm = themmap;
int rv;
diff --git a/mmap/beos/mmap_h.h b/mmap/beos/mmap_h.h
index 4445e0d98..7033c549f 100644
--- a/mmap/beos/mmap_h.h
+++ b/mmap/beos/mmap_h.h
@@ -75,7 +75,5 @@ struct ap_mmap_t {
size_t size;
};
-ap_status_t mmap_cleanup(void *);
-
#endif /* ! FILE_IO_H */
diff --git a/mmap/unix/mmap.c b/mmap/unix/mmap.c
index 0c763a800..c2c48869a 100644
--- a/mmap/unix/mmap.c
+++ b/mmap/unix/mmap.c
@@ -62,7 +62,7 @@
#if HAVE_MMAP
-ap_status_t mmap_cleanup(void *themmap)
+static ap_status_t mmap_cleanup(void *themmap)
{
ap_mmap_t *mm = themmap;
int rv;
diff --git a/mmap/unix/mmap_h.h b/mmap/unix/mmap_h.h
index 6959cb36b..3a03ed08d 100644
--- a/mmap/unix/mmap_h.h
+++ b/mmap/unix/mmap_h.h
@@ -90,7 +90,5 @@ struct ap_mmap_t {
size_t size;
};
-ap_status_t mmap_cleanup(void *);
-
#endif /* ! MMAP_H_H */
diff --git a/network_io/unix/networkio.h b/network_io/unix/networkio.h
index 6ebb096e6..d3e3f732c 100644
--- a/network_io/unix/networkio.h
+++ b/network_io/unix/networkio.h
@@ -134,8 +134,5 @@ struct ap_pollfd_t {
};
-ap_int16_t get_event(ap_int16_t);
-ap_int16_t get_revent(ap_int16_t);
-
#endif /* ! NETWORK_IO_H */
diff --git a/network_io/unix/poll.c b/network_io/unix/poll.c
index b0f67d608..99f9beaa2 100644
--- a/network_io/unix/poll.c
+++ b/network_io/unix/poll.c
@@ -71,7 +71,7 @@ ap_status_t ap_setup_poll(ap_pollfd_t **new, ap_int32_t num, ap_context_t *cont)
return APR_SUCCESS;
}
-ap_int16_t get_event(ap_int16_t event)
+static ap_int16_t get_event(ap_int16_t event)
{
ap_int16_t rv = 0;
@@ -91,7 +91,7 @@ ap_int16_t get_event(ap_int16_t event)
return rv;
}
-ap_int16_t get_revent(ap_int16_t event)
+static ap_int16_t get_revent(ap_int16_t event)
{
ap_int16_t rv = 0;