mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
Quiesce some clang warnings while we're here doing stuff.
Submitted by: Hiren Panchasara <hiren.panchasara@gmail.com> Obtained from: Yahoo! Inc
This commit is contained in:
parent
511c69d9ce
commit
b9fd59b70c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245424
@ -134,7 +134,8 @@ bi_checkcpu(void)
|
||||
{
|
||||
char *cpu_vendor;
|
||||
int vendor[3];
|
||||
int eflags, regs[4];
|
||||
int eflags;
|
||||
unsigned int regs[4];
|
||||
|
||||
/* Check for presence of "cpuid". */
|
||||
eflags = read_eflags();
|
||||
|
@ -128,7 +128,7 @@ i386_parsedev(struct i386_devdesc **dev, const char *devspec, const char **path)
|
||||
goto fail;
|
||||
}
|
||||
} else {
|
||||
cp = np;
|
||||
cp = (char *)np;
|
||||
}
|
||||
if (*cp && (*cp != ':')) {
|
||||
err = EINVAL;
|
||||
|
@ -88,6 +88,12 @@ static int pxe_netif_get(struct iodesc *desc, void *pkt, size_t len,
|
||||
static int pxe_netif_put(struct iodesc *desc, void *pkt, size_t len);
|
||||
static void pxe_netif_end(struct netif *nif);
|
||||
|
||||
#ifdef OLD_NFSV2
|
||||
int nfs_getrootfh(struct iodesc*, char*, u_char*);
|
||||
#else
|
||||
int nfs_getrootfh(struct iodesc*, char*, uint32_t*, u_char*);
|
||||
#endif
|
||||
|
||||
extern struct netif_stats pxe_st[];
|
||||
extern u_int16_t __bangpxeseg;
|
||||
extern u_int16_t __bangpxeoff;
|
||||
|
Loading…
Reference in New Issue
Block a user