- Fix setcxsegmap prototype.

- Cast ?TO? macros to NULL to avoid compiler warnings
This commit is contained in:
christos 1996-02-13 17:04:58 +00:00
parent bd8bd7340f
commit cbb1d18e70
2 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: endian.h,v 1.2 1994/11/20 20:53:01 deraadt Exp $ */
/* $NetBSD: endian.h,v 1.3 1996/02/13 17:04:58 christos Exp $ */
/*
* Copyright (c) 1987, 1991 Regents of the University of California.
@ -69,10 +69,10 @@ __END_DECLS
#define htonl(x) (x)
#define htons(x) (x)
#define NTOHL(x) (x)
#define NTOHS(x) (x)
#define HTONL(x) (x)
#define HTONS(x) (x)
#define NTOHL(x) (void) (x)
#define NTOHS(x) (void) (x)
#define HTONL(x) (void) (x)
#define HTONS(x) (void) (x)
#else

View File

@ -1,4 +1,4 @@
/* $NetBSD: oldmon.h,v 1.6 1996/02/09 23:14:19 christos Exp $ */
/* $NetBSD: oldmon.h,v 1.7 1996/02/13 17:04:59 christos Exp $ */
/*
* Copyright (C) 1985 Regents of the University of California
@ -203,7 +203,8 @@ struct om_vector {
__dead void (*exitToMon) __P((void));/* Exit from user program */
u_char **memorybitmap; /* V1: &{0 or &bits} */
void (*setcxsegmap) __P((void));/* Set seg in any context */
void (*setcxsegmap) /* Set seg in any context */
__P((int, caddt_t, int));
void (**vector_cmd) __P((void));/* V2: Handler for 'v' cmd */
u_long *ExpectedTrapSig;
u_long *TrapVectorTable;