diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-04-13 13:22:19 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-04-13 13:22:19 -0400 |
commit | 45a3219944f03ece5742b6aecb79b6dc7c9ac0bb (patch) | |
tree | 6bb505cf1f9605bdbd771ba298b5f7c549e17a7c /include | |
parent | cac7d837ccc35b7e80d8f1eb7338f8e9d8b1b2d8 (diff) | |
download | musl-45a3219944f03ece5742b6aecb79b6dc7c9ac0bb.tar.gz musl-45a3219944f03ece5742b6aecb79b6dc7c9ac0bb.tar.xz musl-45a3219944f03ece5742b6aecb79b6dc7c9ac0bb.zip |
fix typos on RLIM_NLIMITS, remove _GNU_SOURCE test for it
RLIM_* is in the reserved namespace for this header
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/resource.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/sys/resource.h b/include/sys/resource.h index 42febc0a..7837adb3 100644 --- a/include/sys/resource.h +++ b/include/sys/resource.h @@ -73,9 +73,7 @@ int setpriority (int, id_t, int); #define RLIMIT_RTPRIO 14 #define RLIMIT_NLIMITS 15 -#ifdef _GNU_SOURCE -#define RLIMT_NLIMIT RLIMIT_NLIMITS -#endif +#define RLIM_NLIMITS RLIMIT_NLIMITS #endif |