Browse Source

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.
OPENBSD_3_2
espie 22 years ago
parent
commit
07d30e34e3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/include/limits.h

+ 2
- 2
src/include/limits.h View File

@ -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_ */

Loading…
Cancel
Save