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/libsa | |
| 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/libsa')
| -rw-r--r-- | sys/arch/atari/stand/libsa/atari_stand.h | 4 | ||||
| -rw-r--r-- | sys/arch/atari/stand/libsa/diskio.c | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/atari/stand/libsa/atari_stand.h b/sys/arch/atari/stand/libsa/atari_stand.h index a545d834636..833bab18d57 100644 --- a/sys/arch/atari/stand/libsa/atari_stand.h +++ b/sys/arch/atari/stand/libsa/atari_stand.h @@ -1,4 +1,4 @@ -/* $NetBSD: atari_stand.h,v 1.1 1997/06/28 21:36:44 leo Exp $ */ +/* $NetBSD: atari_stand.h,v 1.2 2009/03/14 14:45:57 dsl Exp $ */ /* * Copyright (c) 1997 Leo Weppelman. @@ -31,4 +31,4 @@ */ /* NetBSD/Atari specific functions */ -int init_dskio __P((void *, void *, int)); +int init_dskio(void *, void *, int); diff --git a/sys/arch/atari/stand/libsa/diskio.c b/sys/arch/atari/stand/libsa/diskio.c index 0623641b804..c2305305617 100644 --- a/sys/arch/atari/stand/libsa/diskio.c +++ b/sys/arch/atari/stand/libsa/diskio.c @@ -1,4 +1,4 @@ -/* $NetBSD: diskio.c,v 1.5 2006/08/04 01:50:30 mhitch Exp $ */ +/* $NetBSD: diskio.c,v 1.6 2009/03/14 14:45:57 dsl Exp $ */ /* * Copyright (c) 1995 Waldi Ravens. @@ -34,13 +34,13 @@ #include "atari_stand.h" #include <sys/disklabel.h> -typedef int (*rdsec_f)__P((void *buffer, u_int offset, u_int count)); +typedef int (*rdsec_f)(void *buffer, u_int offset, u_int count); typedef struct { rdsec_f rds; u_int rst; u_int rend; } bdevd_t; -static int rootstrategy __P((void *, int, daddr_t, size_t, void *, size_t *)); -static int rootopen __P((struct open_file *, ...)); -static int rootclose __P((struct open_file *)); -static int rootioctl __P((struct open_file *, u_long, void *)); +static int rootstrategy(void *, int, daddr_t, size_t, void *, size_t *); +static int rootopen(struct open_file *, ...); +static int rootclose(struct open_file *); +static int rootioctl(struct open_file *, u_long, void *); struct devsw devsw[] = { { "root", rootstrategy, rootopen, rootclose, rootioctl } |
