diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-08-11 06:51:46 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-08-11 06:51:46 +0000 |
commit | 5204e0e775b2346dd8105c402b610e7f13c718cd (patch) | |
tree | e735f3c23fc5276a13ba1d2a6825091eed58e2de /sys/arch/hppa/stand/libsa | |
parent | 733dbb9d1f3d6b4a8b971e63c97c447af112f57d (diff) |
a few strict protos
Diffstat (limited to 'sys/arch/hppa/stand/libsa')
-rw-r--r-- | sys/arch/hppa/stand/libsa/dev_hppa.h | 4 | ||||
-rw-r--r-- | sys/arch/hppa/stand/libsa/dk.c | 6 | ||||
-rw-r--r-- | sys/arch/hppa/stand/libsa/pdc.c | 5 |
3 files changed, 7 insertions, 8 deletions
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 */ |