diff options
Diffstat (limited to 'c/src/lib')
-rw-r--r-- | c/src/lib/libnetworking/kern/uipc_domain.c | 4 | ||||
-rw-r--r-- | c/src/lib/libnetworking/kern/uipc_mbuf.c | 2 | ||||
-rw-r--r-- | c/src/lib/libnetworking/nfs/bootp_subr.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libnetworking/kern/uipc_domain.c b/c/src/lib/libnetworking/kern/uipc_domain.c index 910007395c..81d741fe37 100644 --- a/c/src/lib/libnetworking/kern/uipc_domain.c +++ b/c/src/lib/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/c/src/lib/libnetworking/kern/uipc_mbuf.c b/c/src/lib/libnetworking/kern/uipc_mbuf.c index f682be94a7..d6b51e3d95 100644 --- a/c/src/lib/libnetworking/kern/uipc_mbuf.c +++ b/c/src/lib/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; diff --git a/c/src/lib/libnetworking/nfs/bootp_subr.c b/c/src/lib/libnetworking/nfs/bootp_subr.c index f6831eed71..b39c9e4714 100644 --- a/c/src/lib/libnetworking/nfs/bootp_subr.c +++ b/c/src/lib/libnetworking/nfs/bootp_subr.c @@ -113,8 +113,8 @@ static int md_lookup_swap __P((struct sockaddr_in *mdsin,char *path, struct nfs_args *args, struct proc *procp)); static int setfs __P((struct sockaddr_in *addr, char *path, char *p)); -#endif static int getdec __P((char **ptr)); +#endif static char *substr __P((char *a,char *b)); #if !defined(__rtems__) static void mountopts __P((struct nfs_args *args, char *p)); |