summaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-13 21:09:35 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-13 21:09:35 -0400
commit13cd969552409e05c941829f2aabb15e2f4d9a1f (patch)
tree5e104dd27e5f794d1f083d9a8fea516c9009eb39 /include/unistd.h
parent5e9deea0039204f3b29edb1ffe0e30325d456f84 (diff)
downloadmusl-13cd969552409e05c941829f2aabb15e2f4d9a1f.tar.gz
musl-13cd969552409e05c941829f2aabb15e2f4d9a1f.tar.bz2
musl-13cd969552409e05c941829f2aabb15e2f4d9a1f.tar.xz
musl-13cd969552409e05c941829f2aabb15e2f4d9a1f.zip
fix various errors in function signatures/prototypes found by nsz
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 35cfda8c..95b514ec 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -55,8 +55,8 @@ int link(const char *, const char *);
int linkat(int, const char *, int, const char *, int);
int symlink(const char *, const char *);
int symlinkat(const char *, int, const char *);
-int readlink(const char *, char *, size_t);
-int readlinkat(int, const char *, char *, size_t);
+ssize_t readlink(const char *, char *, size_t);
+ssize_t readlinkat(int, const char *, char *, size_t);
int unlink(const char *);
int unlinkat(int, const char *, int);
int rmdir(const char *);
@@ -134,7 +134,7 @@ size_t confstr(int, char *, size_t);
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
int lockf(int, int, off_t);
-int setpgrp(void);
+pid_t setpgrp(void);
char *crypt(const char *, const char *);
void encrypt(char *, int);
void swab(const void *, void *, ssize_t);