summaryrefslogtreecommitdiffstats
path: root/include/unistd.h
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2010-12-20 21:12:18 +0000
committeruqs <uqs@FreeBSD.org>2010-12-20 21:12:18 +0000
commit04f9658f5ccf72df9c57e4e218f11574121fc70f (patch)
tree975989bb4c9689c6b5a884e4e58d27867689a085 /include/unistd.h
parentd3eae6a7f5fa0818c6fef993492e3fc27e95a7bb (diff)
downloadFreeBSD-src-04f9658f5ccf72df9c57e4e218f11574121fc70f.zip
FreeBSD-src-04f9658f5ccf72df9c57e4e218f11574121fc70f.tar.gz
rpc.lockd(8) WARNS cleanup
- Provide function prototype for nlm_syscall - Don't assign a variable from the stack to a global var[1] - Remove unused vars Found by: clang static analyser [1] Reviewed by: dfr
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 34f187c..adbaa54 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -529,6 +529,7 @@ char *mktemp(char *);
#define _MKTEMP_DECLARED
#endif
int nfssvc(int, void *);
+int nlm_syscall(int, int, int, char **);
int profil(char *, size_t, vm_offset_t, int);
int rcmd(char **, int, const char *, const char *, const char *, int *);
int rcmd_af(char **, int, const char *,
OpenPOWER on IntegriCloud