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/7c9caeca4b1e
branches:  trunk
changeset: 449973:7c9caeca4b1e
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 9201aebf3991 -r 7c9caeca4b1e 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