summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-04-30 16:20:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-04-30 16:20:36 +0000
commitca66d010e53fb9d28548b97b1358df71c1f7ff4f (patch)
tree686f4bdd1326fdbe37a00b2a2342c198a9438d02 /cpukit
parent2004-04-30 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-ca66d010e53fb9d28548b97b1358df71c1f7ff4f.tar.bz2
2004-04-30 Joel Sherrill <joel@OARcorp.com>
* libnetworking/kern/kern_sysctl.c: sysctl_register_all cannot be static with RTEMS.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libnetworking/kern/kern_sysctl.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index f680e5a80b..a56213bb1b 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-30 Joel Sherrill <joel@OARcorp.com>
+
+ * libnetworking/kern/kern_sysctl.c: sysctl_register_all cannot be
+ static with RTEMS.
+
2004-04-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* libnetworking/netinet/in.c: Partial update from FreeBSD.
diff --git a/cpukit/libnetworking/kern/kern_sysctl.c b/cpukit/libnetworking/kern/kern_sysctl.c
index 2a6293d0d4..effb0fa271 100644
--- a/cpukit/libnetworking/kern/kern_sysctl.c
+++ b/cpukit/libnetworking/kern/kern_sysctl.c
@@ -423,7 +423,11 @@ sysctl_add_oid(struct sysctl_ctx_list *clist, struct sysctl_oid_list *parent,
*/
SET_DECLARE(sysctl_set, struct sysctl_oid);
+#if defined(__rtems__)
+void
+#else
static void
+#endif
sysctl_register_all(void *arg)
{
struct sysctl_oid **oidp;