diff options
| author | dsl <dsl@NetBSD.org> | 2009-03-14 14:45:51 +0000 |
|---|---|---|
| committer | dsl <dsl@NetBSD.org> | 2009-03-14 14:45:51 +0000 |
| commit | 02cdf4d2c869ecfa1ae5484cf77eefe2fbcc6d94 (patch) | |
| tree | 9a02e625d403e5fcedfdc6be4803e2404356bf31 /sys/arch/atari/stand/installboot | |
| parent | dfbb3f921a23a1aba4463f31ef9233ac94ce606c (diff) | |
Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
Diffstat (limited to 'sys/arch/atari/stand/installboot')
| -rw-r--r-- | sys/arch/atari/stand/installboot/disklabel.c | 12 | ||||
| -rw-r--r-- | sys/arch/atari/stand/installboot/installboot.c | 26 | ||||
| -rw-r--r-- | sys/arch/atari/stand/installboot/installboot.h | 6 |
3 files changed, 22 insertions, 22 deletions
diff --git a/sys/arch/atari/stand/installboot/disklabel.c b/sys/arch/atari/stand/installboot/disklabel.c index 46b2127e567..895032b2fb0 100644 --- a/sys/arch/atari/stand/installboot/disklabel.c +++ b/sys/arch/atari/stand/installboot/disklabel.c @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.c,v 1.3 2009/01/06 13:35:30 tsutsui Exp $ */ +/* $NetBSD: disklabel.c,v 1.4 2009/03/14 14:45:57 dsl Exp $ */ /* * Copyright (c) 1995 Waldi Ravens @@ -56,12 +56,12 @@ struct ahdilabel { struct ahdi_part *parts; }; -u_int dkcksum __P((struct disklabel *)); -u_int32_t readdisklabel __P((char *, struct disklabel *)); +u_int dkcksum(struct disklabel *); +u_int32_t readdisklabel(char *, struct disklabel *); -static int bsd_label __P((int, off_t, struct disklabel *)); -static int ahdi_label __P((int, u_int32_t *, struct disklabel *)); -static int ahdi_getparts __P((int, daddr_t, daddr_t, struct ahdilabel *)); +static int bsd_label(int, off_t, struct disklabel *); +static int ahdi_label(int, u_int32_t *, struct disklabel *); +static int ahdi_getparts(int, daddr_t, daddr_t, struct ahdilabel *); u_int dkcksum (dl) diff --git a/sys/arch/atari/stand/installboot/installboot.c b/sys/arch/atari/stand/installboot/installboot.c index 276b2e51ac8..c1174aceab6 100644 --- a/sys/arch/atari/stand/installboot/installboot.c +++ b/sys/arch/atari/stand/installboot/installboot.c @@ -1,4 +1,4 @@ -/* $NetBSD: installboot.c,v 1.22 2009/01/06 13:35:30 tsutsui Exp $ */ +/* $NetBSD: installboot.c,v 1.23 2009/03/14 14:45:57 dsl Exp $ */ /* * Copyright (c) 1995 Waldi Ravens @@ -53,18 +53,18 @@ #include "installboot.h" -static void usage __P((void)); -static void oscheck __P((void)); -static u_int abcksum __P((void *)); -static void setNVpref __P((void)); -static void setIDEpar __P((u_int8_t *, size_t)); -static void mkahdiboot __P((struct ahdi_root *, char *, - char *, u_int32_t)); -static void mkbootblock __P((struct bootblock *, char *, - char *, struct disklabel *, u_int)); -static void install_fd __P((char *, struct disklabel *)); -static void install_sd __P((char *, struct disklabel *)); -static void install_wd __P((char *, struct disklabel *)); +static void usage(void); +static void oscheck(void); +static u_int abcksum(void *); +static void setNVpref(void); +static void setIDEpar(u_int8_t *, size_t); +static void mkahdiboot(struct ahdi_root *, char *, + char *, u_int32_t); +static void mkbootblock(struct bootblock *, char *, + char *, struct disklabel *, u_int); +static void install_fd(char *, struct disklabel *); +static void install_sd(char *, struct disklabel *); +static void install_wd(char *, struct disklabel *); static struct bootblock bootarea; static struct ahdi_root ahdiboot; diff --git a/sys/arch/atari/stand/installboot/installboot.h b/sys/arch/atari/stand/installboot/installboot.h index 7fe4f6fd1b3..3ecb9786de6 100644 --- a/sys/arch/atari/stand/installboot/installboot.h +++ b/sys/arch/atari/stand/installboot/installboot.h @@ -1,4 +1,4 @@ -/* $NetBSD: installboot.h,v 1.9 2009/01/06 13:35:30 tsutsui Exp $ */ +/* $NetBSD: installboot.h,v 1.10 2009/03/14 14:45:57 dsl Exp $ */ /* * Copyright (c) 1995 Waldi Ravens @@ -45,5 +45,5 @@ */ #define BOOTVERSION 0x03 -u_int dkcksum __P((struct disklabel *)); -u_int32_t readdisklabel __P((char *, struct disklabel *)); +u_int dkcksum(struct disklabel *); +u_int32_t readdisklabel(char *, struct disklabel *); |
