Fix warnings.. bootpc_init() and related.
This commit is contained in:
parent
821d20af41
commit
0535cd31ee
@ -95,7 +95,7 @@ static void configure_first __P((void *));
|
||||
static void configure __P((void *));
|
||||
static void configure_final __P((void *));
|
||||
|
||||
#if defined(NFSCLIENT) && defined(NFS_ROOT)
|
||||
#if defined(NFSCLIENT) && defined(NFS_ROOT) && !defined(BOOTP_NFSROOT)
|
||||
static void pxe_setup_nfsdiskless(void);
|
||||
#endif
|
||||
|
||||
@ -219,9 +219,6 @@ configure_final(dummy)
|
||||
cold = 0;
|
||||
}
|
||||
|
||||
#ifdef BOOTP
|
||||
extern void bootpc_init(void);
|
||||
#endif
|
||||
/*
|
||||
* Do legacy root filesystem discovery.
|
||||
*/
|
||||
@ -243,7 +240,7 @@ SYSINIT(cpu_rootconf, SI_SUB_ROOT_CONF, SI_ORDER_FIRST, cpu_rootconf, NULL)
|
||||
|
||||
u_long bootdev = 0; /* not a dev_t - encoding is different */
|
||||
|
||||
#if defined(NFSCLIENT) && defined(NFS_ROOT)
|
||||
#if defined(NFSCLIENT) && defined(NFS_ROOT) && !defined(BOOTP_NFSROOT)
|
||||
|
||||
static int
|
||||
inaddr_to_sockaddr(char *ev, struct sockaddr_in *sa)
|
||||
|
@ -95,7 +95,7 @@ static void configure_first __P((void *));
|
||||
static void configure __P((void *));
|
||||
static void configure_final __P((void *));
|
||||
|
||||
#if defined(NFSCLIENT) && defined(NFS_ROOT)
|
||||
#if defined(NFSCLIENT) && defined(NFS_ROOT) && !defined(BOOTP_NFSROOT)
|
||||
static void pxe_setup_nfsdiskless(void);
|
||||
#endif
|
||||
|
||||
@ -219,9 +219,6 @@ configure_final(dummy)
|
||||
cold = 0;
|
||||
}
|
||||
|
||||
#ifdef BOOTP
|
||||
extern void bootpc_init(void);
|
||||
#endif
|
||||
/*
|
||||
* Do legacy root filesystem discovery.
|
||||
*/
|
||||
@ -243,7 +240,7 @@ SYSINIT(cpu_rootconf, SI_SUB_ROOT_CONF, SI_ORDER_FIRST, cpu_rootconf, NULL)
|
||||
|
||||
u_long bootdev = 0; /* not a dev_t - encoding is different */
|
||||
|
||||
#if defined(NFSCLIENT) && defined(NFS_ROOT)
|
||||
#if defined(NFSCLIENT) && defined(NFS_ROOT) && !defined(BOOTP_NFSROOT)
|
||||
|
||||
static int
|
||||
inaddr_to_sockaddr(char *ev, struct sockaddr_in *sa)
|
||||
|
@ -262,8 +262,6 @@ static __inline int bootpc_ifctx_isresolved(struct bootpc_ifcontext *ifctx);
|
||||
static __inline int bootpc_ifctx_isunresolved(struct bootpc_ifcontext *ifctx);
|
||||
static __inline int bootpc_ifctx_isfailed(struct bootpc_ifcontext *ifctx);
|
||||
|
||||
void bootpc_init(void);
|
||||
|
||||
/*
|
||||
* In order to have multiple active interfaces with address 0.0.0.0
|
||||
* and be able to send data to a selected interface, we perform
|
||||
|
@ -124,6 +124,7 @@ struct nfs_diskless {
|
||||
extern struct nfsv3_diskless nfsv3_diskless;
|
||||
extern struct nfs_diskless nfs_diskless;
|
||||
extern int nfs_diskless_valid;
|
||||
void bootpc_init(void);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user