diff options
author | Rich Felker <dalias@aerifal.cx> | 2016-10-20 17:20:01 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-10-20 17:20:01 -0400 |
commit | 7597fc25a2743d49500926a286da71f8e033936c (patch) | |
tree | 25f902fe91240235623e6fde718f285d16b518aa /include/unistd.h | |
parent | 2ed4e9d9279117ffa50294095e172804cd1b68e5 (diff) | |
download | musl-7597fc25a2743d49500926a286da71f8e033936c.tar.gz musl-7597fc25a2743d49500926a286da71f8e033936c.tar.bz2 musl-7597fc25a2743d49500926a286da71f8e033936c.tar.xz musl-7597fc25a2743d49500926a286da71f8e033936c.zip |
fix various header namespace issues under feature-test-macro control
reported and changes suggested by Daniel Sabogal.
Diffstat (limited to 'include/unistd.h')
-rw-r--r-- | include/unistd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unistd.h b/include/unistd.h index 2c355880..09190af4 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -110,10 +110,8 @@ gid_t getgid(void); gid_t getegid(void); int getgroups(int, gid_t []); int setuid(uid_t); -int setreuid(uid_t, uid_t); int seteuid(uid_t); int setgid(gid_t); -int setregid(gid_t, gid_t); int setegid(gid_t); char *getlogin(void); @@ -136,6 +134,8 @@ size_t confstr(int, char *, size_t); #define F_TEST 3 #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +int setreuid(uid_t, uid_t); +int setregid(gid_t, gid_t); int lockf(int, int, off_t); long gethostid(void); int nice(int); |