summaryrefslogtreecommitdiff
path: root/include/limits.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2002-04-24 21:53:13 +0000
committerMarc Espie <espie@cvs.openbsd.org>2002-04-24 21:53:13 +0000
commit7c0de9a6039bc6cbca0fd91e88e4c1b334df52d7 (patch)
treeeae09ebbce65e9c5a8b1e831523955aaa3847d61 /include/limits.h
parent767845303816d6a74680f4a7a5f9a70087b57e44 (diff)
Introduce a new file, machine/internal_types.h, to hold that specific arch
type characteristics. internal_types.h will contain only settings invisible from standard C, e.g., in the __* or _[A-Z]* namespace, and be reused by files like limits.h. This allows us to shorten machine/limits.h greatly, as all the common defines are now in sys/limits.h, plus a small stub in internal_types.h. Tested on all arches as far as I know. Approved after discussion with art, millert, deraadt, and others.
Diffstat (limited to 'include/limits.h')
-rw-r--r--include/limits.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/limits.h b/include/limits.h
index 772688e8204..0ff2db498a9 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.6 1998/11/20 11:18:25 d Exp $ */
+/* $OpenBSD: limits.h,v 1.7 2002/04/24 21:53:11 espie Exp $ */
/* $NetBSD: limits.h,v 1.7 1994/10/26 00:56:00 cgd Exp $ */
/*
@@ -86,7 +86,7 @@
#define TTY_NAME_MAX _POSIX_TTY_NAME_MAX
#define LOGIN_NAME_MAX MAXLOGNAME
-#include <machine/limits.h>
+#include <sys/limits.h>
#include <sys/syslimits.h>
#endif /* !_LIMITS_H_ */