add prototypes, slight formatting changes

This commit is contained in:
drochner 1999-04-14 11:17:04 +00:00
parent ffd8d7c6d0
commit 2d1e6a1f5a
3 changed files with 35 additions and 28 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: dosfile.c,v 1.4 1997/09/17 18:09:04 drochner Exp $ */
/* $NetBSD: dosfile.c,v 1.5 1999/04/14 11:17:04 drochner Exp $ */
/*
* Copyright (c) 1996
@ -54,7 +54,10 @@ struct dosfile {
extern int doserrno; /* in dos_file.S */
static int dos2errno()
static int dos2errno __P((void));
static int
dos2errno()
{
int err;

View File

@ -1,4 +1,4 @@
/* $NetBSD: getsecs.c,v 1.1.1.1 1997/03/14 02:40:32 perry Exp $ */
/* $NetBSD: getsecs.c,v 1.2 1999/04/14 11:17:05 drochner Exp $ */
/* extracted from netbsd:sys/arch/i386/netboot/misc.c */
@ -10,6 +10,8 @@
extern int biosgetrtc __P((u_long*));
static inline u_long bcd2dec __P((u_long));
static inline u_long
bcd2dec(arg)
u_long arg;

View File

@ -1,4 +1,4 @@
/* $NetBSD: pcio.c,v 1.8 1999/03/12 04:14:37 sommerfe Exp $ */
/* $NetBSD: pcio.c,v 1.9 1999/04/14 11:17:05 drochner Exp $ */
/*
* Copyright (c) 1996, 1997
@ -203,6 +203,8 @@ nocom:
#endif /* SUPPORT_SERIAL */
}
static inline void internal_putchar __P((int));
static inline void
internal_putchar(c)
int c;