add <sys/cdefs.h> inclusions. namsspace-protect physadr, label_t
def'ns against _POSIX_SOURCE and _ANSI_SOURCE.
This commit is contained in:
parent
6503666839
commit
479fb9e45b
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.3 1995/06/26 05:13:37 cgd Exp $ */
|
||||
/* $NetBSD: types.h,v 1.4 1995/07/06 03:39:32 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -38,6 +38,8 @@
|
||||
#ifndef _MACHTYPES_H_
|
||||
#define _MACHTYPES_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
|
||||
typedef struct _physadr {
|
||||
long r[1];
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.10 1995/06/28 02:55:52 cgd Exp $ */
|
||||
/* $NetBSD: types.h,v 1.11 1995/07/06 03:39:36 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -40,6 +40,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
|
||||
typedef struct _physadr {
|
||||
int r[1];
|
||||
} *physadr;
|
||||
@ -47,6 +48,7 @@ typedef struct _physadr {
|
||||
typedef struct label_t {
|
||||
int val[6];
|
||||
} label_t;
|
||||
#endif
|
||||
|
||||
typedef unsigned long vm_offset_t;
|
||||
typedef unsigned long vm_size_t;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.8 1994/10/26 07:50:57 cgd Exp $ */
|
||||
/* $NetBSD: types.h,v 1.9 1995/07/06 03:39:38 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -37,6 +37,9 @@
|
||||
#ifndef _M68K_TYPES_H_
|
||||
#define _M68K_TYPES_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
|
||||
typedef struct _physadr {
|
||||
short r[1];
|
||||
} *physadr;
|
||||
@ -44,6 +47,7 @@ typedef struct _physadr {
|
||||
typedef struct label_t { /* consistent with HP-UX */
|
||||
int val[15];
|
||||
} label_t;
|
||||
#endif
|
||||
|
||||
typedef unsigned long vm_offset_t;
|
||||
typedef unsigned long vm_size_t;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.9 1995/06/28 02:56:03 cgd Exp $ */
|
||||
/* $NetBSD: types.h,v 1.10 1995/07/06 03:39:43 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -41,6 +41,8 @@
|
||||
#ifndef _MACHTYPES_H_
|
||||
#define _MACHTYPES_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
|
||||
typedef struct _physadr {
|
||||
int r[1];
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.9 1995/06/28 02:55:59 cgd Exp $ */
|
||||
/* $NetBSD: types.h,v 1.10 1995/07/06 03:39:41 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -38,6 +38,9 @@
|
||||
#ifndef _MACHINE_TYPES_H_
|
||||
#define _MACHINE_TYPES_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
|
||||
typedef struct _physadr {
|
||||
int r[1];
|
||||
} *physadr;
|
||||
@ -45,6 +48,7 @@ typedef struct _physadr {
|
||||
typedef struct label_t {
|
||||
int val[6];
|
||||
} label_t;
|
||||
#endif
|
||||
|
||||
typedef unsigned long vm_offset_t;
|
||||
typedef unsigned long vm_size_t;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.9 1995/06/28 02:56:03 cgd Exp $ */
|
||||
/* $NetBSD: types.h,v 1.10 1995/07/06 03:39:43 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -41,6 +41,8 @@
|
||||
#ifndef _MACHTYPES_H_
|
||||
#define _MACHTYPES_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
|
||||
typedef struct _physadr {
|
||||
int r[1];
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.4 1995/06/26 05:14:02 cgd Exp $ */
|
||||
/* $NetBSD: types.h,v 1.5 1995/07/06 03:39:45 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -38,7 +38,10 @@
|
||||
#ifndef _MACHTYPES_H_
|
||||
#define _MACHTYPES_H_
|
||||
|
||||
/*
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
|
||||
#if 0
|
||||
typedef struct _physadr {
|
||||
int r[1];
|
||||
} *physadr;
|
||||
@ -47,8 +50,9 @@ typedef struct _physadr {
|
||||
typedef struct label_t {
|
||||
int val[6];
|
||||
} label_t;
|
||||
#endif /* 0 */
|
||||
#endif
|
||||
|
||||
*/
|
||||
typedef unsigned long vm_offset_t;
|
||||
typedef unsigned long vm_size_t;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user