summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2004-03-15 13:43:44 +0000
committermlaier <mlaier@FreeBSD.org>2004-03-15 13:43:44 +0000
commit4169d56a678bccd52122679f6654268c9a0b225a (patch)
tree17db7f2fd4cc08e5a289d10c449505fe89b0064c /sys
parent4c91a73d426123e1662d8a1b186f9605ca384b73 (diff)
downloadFreeBSD-src-4169d56a678bccd52122679f6654268c9a0b225a.zip
FreeBSD-src-4169d56a678bccd52122679f6654268c9a0b225a.tar.gz
Move GID/UID_MAX under __BSD_VISIBLE protection.
Requested by: bde Approved by: bms(mentor)
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/limits.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/limits.h b/sys/sys/limits.h
index 8b4be2e..e7a1ed0 100644
--- a/sys/sys/limits.h
+++ b/sys/sys/limits.h
@@ -66,9 +66,6 @@
#define LONG_MAX __LONG_MAX /* max for a long */
#define LONG_MIN __LONG_MIN /* min for a long */
-#define UID_MAX UINT_MAX /* max value for a uid_t */
-#define GID_MAX UINT_MAX /* max value for a gid_t */
-
#ifdef __LONG_LONG_SUPPORTED
#define ULLONG_MAX __ULLONG_MAX /* max for an unsigned long long */
#define LLONG_MAX __LLONG_MAX /* max for a long long */
@@ -87,6 +84,9 @@
#endif
#if __BSD_VISIBLE
+#define GID_MAX UINT_MAX /* max value for a gid_t */
+#define UID_MAX UINT_MAX /* max value for a uid_t */
+
#define UQUAD_MAX (__UQUAD_MAX) /* max value for a uquad_t */
#define QUAD_MAX (__QUAD_MAX) /* max value for a quad_t */
#define QUAD_MIN (__QUAD_MIN) /* min value for a quad_t */
OpenPOWER on IntegriCloud