summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-11 06:51:46 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-11 06:51:46 +0000
commit5204e0e775b2346dd8105c402b610e7f13c718cd (patch)
treee735f3c23fc5276a13ba1d2a6825091eed58e2de
parent733dbb9d1f3d6b4a8b971e63c97c447af112f57d (diff)
a few strict protos
-rw-r--r--sys/arch/hppa/stand/cdboot/cdboot.c6
-rw-r--r--sys/arch/hppa/stand/libsa/dev_hppa.h4
-rw-r--r--sys/arch/hppa/stand/libsa/dk.c6
-rw-r--r--sys/arch/hppa/stand/libsa/pdc.c5
-rw-r--r--sys/arch/hppa/stand/mkboot/mkboot.c7
5 files changed, 13 insertions, 15 deletions
diff --git a/sys/arch/hppa/stand/cdboot/cdboot.c b/sys/arch/hppa/stand/cdboot/cdboot.c
index 14158b8d1f6..251dcb65ad1 100644
--- a/sys/arch/hppa/stand/cdboot/cdboot.c
+++ b/sys/arch/hppa/stand/cdboot/cdboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cdboot.c,v 1.4 2003/05/19 08:19:45 mickey Exp $ */
+/* $OpenBSD: cdboot.c,v 1.5 2003/08/11 06:51:45 mickey Exp $ */
/*
* Copyright (c) 2003 Michael Shalayeff
@@ -42,6 +42,7 @@
#include <machine/pdc.h>
#include <stand/boot/bootarg.h>
#include "dev_hppa.h"
+#include "cmd.h"
dev_t bootdev;
int debug = 1;
@@ -68,8 +69,7 @@ typedef void (*startfuncp) __P((int, int, int, int, int, int, caddr_t))
__attribute__ ((noreturn));
void
-boot(dev)
- dev_t dev;
+boot(dev_t dev)
{
u_long marks[MARK_MAX];
char path[128];
diff --git a/sys/arch/hppa/stand/libsa/dev_hppa.h b/sys/arch/hppa/stand/libsa/dev_hppa.h
index e302f01d6ab..2c006dce33c 100644
--- a/sys/arch/hppa/stand/libsa/dev_hppa.h
+++ b/sys/arch/hppa/stand/libsa/dev_hppa.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dev_hppa.h,v 1.7 2003/04/30 23:03:55 mickey Exp $ */
+/* $OpenBSD: dev_hppa.h,v 1.8 2003/08/11 06:51:45 mickey Exp $ */
#define IOPGSHIFT 11
@@ -39,3 +39,5 @@ extern pdcio_t pdc;
extern int pdcbuf[]; /* PDC returns, pdc.c */
int iodc_rw(char *, u_int, u_int, int func, struct pz_device *);
+const char *dk_disklabel(struct hppa_dev *dp, struct disklabel *label);
+
diff --git a/sys/arch/hppa/stand/libsa/dk.c b/sys/arch/hppa/stand/libsa/dk.c
index 5545eaf4c8a..ad96a5db960 100644
--- a/sys/arch/hppa/stand/libsa/dk.c
+++ b/sys/arch/hppa/stand/libsa/dk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dk.c,v 1.11 2003/04/30 03:46:28 mickey Exp $ */
+/* $OpenBSD: dk.c,v 1.12 2003/08/11 06:51:45 mickey Exp $ */
/*
* Copyright 1996 1995 by Open Software Foundation, Inc.
@@ -33,9 +33,7 @@
#include "dev_hppa.h"
const char *
-dk_disklabel(dp, label)
- struct hppa_dev *dp;
- struct disklabel *label;
+dk_disklabel(struct hppa_dev *dp, struct disklabel *label)
{
char buf[DEV_BSIZE];
int ret;
diff --git a/sys/arch/hppa/stand/libsa/pdc.c b/sys/arch/hppa/stand/libsa/pdc.c
index 77d258b7100..01631822f54 100644
--- a/sys/arch/hppa/stand/libsa/pdc.c
+++ b/sys/arch/hppa/stand/libsa/pdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pdc.c,v 1.16 2003/04/30 23:03:55 mickey Exp $ */
+/* $OpenBSD: pdc.c,v 1.17 2003/08/11 06:51:45 mickey Exp $ */
/*
* Copyright (c) 1998 Michael Shalayeff
@@ -405,8 +405,7 @@ pdc_findev(unit, class)
}
static __inline void
-fall(c_base, c_count, c_loop, c_stride, data)
- int c_base, c_count, c_loop, c_stride, data;
+fall(int c_base, int c_count, int c_loop, int c_stride, int data)
{
int loop; /* Internal vars */
diff --git a/sys/arch/hppa/stand/mkboot/mkboot.c b/sys/arch/hppa/stand/mkboot/mkboot.c
index d8c5fdb5f3a..605144d3d53 100644
--- a/sys/arch/hppa/stand/mkboot/mkboot.c
+++ b/sys/arch/hppa/stand/mkboot/mkboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mkboot.c,v 1.13 2003/06/02 23:27:47 millert Exp $ */
+/* $OpenBSD: mkboot.c,v 1.14 2003/08/11 06:51:45 mickey Exp $ */
/*
* Copyright (c) 1990, 1993
@@ -39,7 +39,7 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
-static char rcsid[] = "$OpenBSD: mkboot.c,v 1.13 2003/06/02 23:27:47 millert Exp $";
+static char rcsid[] = "$OpenBSD: mkboot.c,v 1.14 2003/08/11 06:51:45 mickey Exp $";
#endif /* not lint */
#endif
@@ -97,8 +97,7 @@ char *__progname = "mkboot";
* sector 32-: LIF file 0, LIF file 1, etc.
*/
int
-main(argc, argv)
- char **argv;
+main(int argc, char **argv)
{
int to;
register int n, pos, c;