Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys tuck the strings inside _NETBSD_SOURCE



details:   https://anonhg.NetBSD.org/src/rev/4ddb1a39d13c
branches:  trunk
changeset: 997898:4ddb1a39d13c
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Mar 30 23:29:55 2019 +0000

description:
tuck the strings inside _NETBSD_SOURCE

diffstat:

 sys/sys/resource.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r d80df4483cbc -r 4ddb1a39d13c sys/sys/resource.h
--- a/sys/sys/resource.h        Sat Mar 30 23:29:27 2019 +0000
+++ b/sys/sys/resource.h        Sat Mar 30 23:29:55 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: resource.h,v 1.35 2019/03/30 23:29:27 christos Exp $   */
+/*     $NetBSD: resource.h,v 1.36 2019/03/30 23:29:55 christos Exp $   */
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -101,7 +101,6 @@
 
 #if defined(_NETBSD_SOURCE)
 #define        RLIM_NLIMITS    12              /* number of resource limits */
-#endif
 
 #define RLIM_STRINGS { \
        "cpu-time", \
@@ -117,6 +116,7 @@
        "virtual-memory-size", \
        "threads-number", \
 }
+#endif
 
 #define        RLIM_INFINITY   (~((u_quad_t)1 << 63))  /* no limit */
 #define        RLIM_SAVED_MAX  RLIM_INFINITY   /* unrepresentable hard limit */



Home | Main Index | Thread Index | Old Index