forked from Imagelibrary/rtems
Patch from D. V. Henkel-Wallace <gumby@zembu.com> to remove compiler
warnings.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user