summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/kern
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-05-17 15:45:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-05-17 15:45:15 +0000
commita238cc97d0d0a865a26cec223b86960cca878127 (patch)
tree5d7fbd7af87b82671d228e1cd60adb58dde9fa63 /cpukit/libnetworking/kern
parentPatch from D. V. Henkel-Wallace <gumby@zembu.com>: (diff)
downloadrtems-a238cc97d0d0a865a26cec223b86960cca878127.tar.bz2
Patch from D. V. Henkel-Wallace <gumby@zembu.com> to remove compiler
warnings.
Diffstat (limited to 'cpukit/libnetworking/kern')
-rw-r--r--cpukit/libnetworking/kern/uipc_domain.c4
-rw-r--r--cpukit/libnetworking/kern/uipc_mbuf.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libnetworking/kern/uipc_domain.c b/cpukit/libnetworking/kern/uipc_domain.c
index 910007395c..81d741fe37 100644
--- a/cpukit/libnetworking/kern/uipc_domain.c
+++ b/cpukit/libnetworking/kern/uipc_domain.c
@@ -115,6 +115,7 @@ domaininit(dummy)
}
+#if !defined(__rtems__)
/*
* The following two operations are kludge code. Most likely, they should
* be done as a "domainpreinit()" for the first function and then rolled
@@ -140,8 +141,7 @@ kludge_splx(udata)
splx( *savesplp);
}
-
-
+#endif /* !defined(__rtems__) */
struct protosw *
pffindtype(int family, int type)
diff --git a/cpukit/libnetworking/kern/uipc_mbuf.c b/cpukit/libnetworking/kern/uipc_mbuf.c
index f682be94a7..d6b51e3d95 100644
--- a/cpukit/libnetworking/kern/uipc_mbuf.c
+++ b/cpukit/libnetworking/kern/uipc_mbuf.c
@@ -50,7 +50,7 @@
#include <vm/vm_kern.h>
#include <vm/vm_extern.h>
-static void mbinit __P((void *));
+static void mbinit __P((void *)) __attribute__ ((unused));
SYSINIT(mbuf, SI_SUB_MBUF, SI_ORDER_FIRST, mbinit, NULL)
struct mbuf *mbutl;