diff options
author | Mike Barcroft <mike@FreeBSD.org> | 2002-10-02 18:29:50 +0000 |
---|---|---|
committer | Mike Barcroft <mike@FreeBSD.org> | 2002-10-02 18:29:50 +0000 |
commit | 821aa3b401ccef46258105601197dad3c452f960 (patch) | |
tree | aa9250ab9269fd95cee0776d5513446b15ce71f1 /libexec | |
parent | 289e1e23d10affa528250039bb889ebd072715eb (diff) | |
download | src-821aa3b401ccef46258105601197dad3c452f960.tar.gz src-821aa3b401ccef46258105601197dad3c452f960.zip |
Rename local function havedisk() to haveadisk() to avoid conflict a
with another function by the same name in a system header.
Notes
Notes:
svn path=/head/; revision=104384
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rpc.rstatd/rstat_proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/rpc.rstatd/rstat_proc.c b/libexec/rpc.rstatd/rstat_proc.c index a87d7f05b94e..818728db4f24 100644 --- a/libexec/rpc.rstatd/rstat_proc.c +++ b/libexec/rpc.rstatd/rstat_proc.c @@ -84,7 +84,7 @@ struct nlist nl[] = { { "" }, }; -int havedisk(void); +int haveadisk(void); void updatexfers(int, int *); void setup(void); int stats_service(void); @@ -158,7 +158,7 @@ rstatproc_havedisk_3_svc(void *argp, struct svc_req *rqstp) if (! stat_is_init) stat_init(); sincelastreq = 0; - have = havedisk(); + have = haveadisk(); return(&have); } @@ -325,7 +325,7 @@ setup() * returns true if have a disk */ int -havedisk(void) +haveadisk(void) { register int i; struct statinfo stats; |