Patch from D. V. Henkel-Wallace <gumby@zembu.com> to remove compiler

warnings.
This commit is contained in:
Joel Sherrill
1999-05-17 15:45:15 +00:00
parent 577c408009
commit a238cc97d0
12 changed files with 16 additions and 16 deletions

View File

@@ -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)

View File

@@ -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;

View File

@@ -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));

View File

@@ -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)

View File

@@ -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;

View File

@@ -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));

View File

@@ -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)

View File

@@ -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;

View File

@@ -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));

View File

@@ -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)

View File

@@ -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;

View File

@@ -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));