Rename local function havedisk() to haveadisk() to avoid conflict a
with another function by the same name in a system header.
This commit is contained in:
parent
289e1e23d1
commit
821aa3b401
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104384
@ -84,7 +84,7 @@ struct nlist nl[] = {
|
|||||||
{ "" },
|
{ "" },
|
||||||
};
|
};
|
||||||
|
|
||||||
int havedisk(void);
|
int haveadisk(void);
|
||||||
void updatexfers(int, int *);
|
void updatexfers(int, int *);
|
||||||
void setup(void);
|
void setup(void);
|
||||||
int stats_service(void);
|
int stats_service(void);
|
||||||
@ -158,7 +158,7 @@ rstatproc_havedisk_3_svc(void *argp, struct svc_req *rqstp)
|
|||||||
if (! stat_is_init)
|
if (! stat_is_init)
|
||||||
stat_init();
|
stat_init();
|
||||||
sincelastreq = 0;
|
sincelastreq = 0;
|
||||||
have = havedisk();
|
have = haveadisk();
|
||||||
return(&have);
|
return(&have);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -325,7 +325,7 @@ setup()
|
|||||||
* returns true if have a disk
|
* returns true if have a disk
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
havedisk(void)
|
haveadisk(void)
|
||||||
{
|
{
|
||||||
register int i;
|
register int i;
|
||||||
struct statinfo stats;
|
struct statinfo stats;
|
||||||
|
Loading…
Reference in New Issue
Block a user