summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-09-12 15:58:15 +0000
committerstefanf <stefanf@FreeBSD.org>2005-09-12 15:58:15 +0000
commit174f336d2e9542633229e80e94ef6b91e6f1e546 (patch)
tree7d49a73183b4edf9b371bc5242362e9ccea46378 /include
parent0d46d23897651aec4561c5f87fea133d4a34ef11 (diff)
downloadFreeBSD-src-174f336d2e9542633229e80e94ef6b91e6f1e546.zip
FreeBSD-src-174f336d2e9542633229e80e94ef6b91e6f1e546.tar.gz
Fix the prototypes for devname() and devname_r(), the first two argument
types are supposed to be dev_t and mode_t (prefixed with __ due to namespace reasons).
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 0ae6b18..051e52c 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -250,8 +250,8 @@ int cgetstr(char *, const char *, char **);
int cgetustr(char *, const char *, char **);
int daemon(int, int);
-char *devname(int, int);
-char *devname_r(int, int, char *, int);
+char *devname(__dev_t, __mode_t);
+char *devname_r(__dev_t, __mode_t, char *, int);
int getloadavg(double [], int);
__const char *
getprogname(void);
OpenPOWER on IntegriCloud