projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cac7d83
)
fix typos on RLIM_NLIMITS, remove _GNU_SOURCE test for it
author
Rich Felker
<dalias@aerifal.cx>
Wed, 13 Apr 2011 17:22:19 +0000
(13:22 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 13 Apr 2011 17:22:19 +0000
(13:22 -0400)
RLIM_* is in the reserved namespace for this header
include/sys/resource.h
patch
|
blob
|
history
diff --git
a/include/sys/resource.h
b/include/sys/resource.h
index 42febc0aa8b4ea3222a3273e446da1b4cedfc17b..7837adb3a048a002a7f3856009d5bdd1d5edae00 100644
(file)
--- 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