Fix types lossage on the Alpha.

This commit is contained in:
thorpej 1998-03-11 16:49:19 +00:00
parent f75b1046d4
commit f96aa26b70
2 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: genbsubs.c,v 1.4 1998/03/04 13:16:08 christos Exp $ */ /* $NetBSD: genbsubs.c,v 1.5 1998/03/11 16:49:19 thorpej Exp $ */
/*- /*-
* Copyright (c) 1988 The Regents of the University of California. * Copyright (c) 1988 The Regents of the University of California.
@ -38,7 +38,7 @@
#if 0 #if 0
static char sccsid[] = "@(#)genbsubs.c 4.2 (Berkeley) 4/26/91"; static char sccsid[] = "@(#)genbsubs.c 4.2 (Berkeley) 4/26/91";
#else #else
__RCSID("$NetBSD: genbsubs.c,v 1.4 1998/03/04 13:16:08 christos Exp $"); __RCSID("$NetBSD: genbsubs.c,v 1.5 1998/03/11 16:49:19 thorpej Exp $");
#endif #endif
#endif /* not lint */ #endif /* not lint */
@ -98,7 +98,7 @@ char *s;
int c; int c;
unsigned int n; unsigned int n;
int and; int and;
int stride; ssize_t stride;
{ {
unsigned char _c, *_s, _and; unsigned char _c, *_s, _and;

View File

@ -1,4 +1,4 @@
/* $NetBSD: general.h,v 1.6 1998/03/04 13:16:08 christos Exp $ */ /* $NetBSD: general.h,v 1.7 1998/03/11 16:49:19 thorpej Exp $ */
/*- /*-
* Copyright (c) 1988 The Regents of the University of California. * Copyright (c) 1988 The Regents of the University of California.
@ -39,6 +39,8 @@
* Some general definitions. * Some general definitions.
*/ */
#include <sys/types.h>
#define numberof(x) (sizeof x/sizeof x[0]) #define numberof(x) (sizeof x/sizeof x[0])
#define highestof(x) (numberof(x)-1) #define highestof(x) (numberof(x)-1)
@ -72,4 +74,4 @@
/* genbsubs.c */ /* genbsubs.c */
int bunequal __P((char *, char *, int)); int bunequal __P((char *, char *, int));
int bskip __P((char *, int, int)); int bskip __P((char *, int, int));
unsigned char *memNSchr __P((char *, int, unsigned int, int, int)); unsigned char *memNSchr __P((char *, int, unsigned int, int, ssize_t));