diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
commit | 8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch) | |
tree | ac9a52bace179e17769651fb9f805070d78abe5f /sys/arch/hppa/stand/libsa | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/arch/hppa/stand/libsa')
-rw-r--r-- | sys/arch/hppa/stand/libsa/cmd_hppa.c | 24 | ||||
-rw-r--r-- | sys/arch/hppa/stand/libsa/dev_hppa.h | 4 | ||||
-rw-r--r-- | sys/arch/hppa/stand/libsa/exec_hppa.c | 4 | ||||
-rw-r--r-- | sys/arch/hppa/stand/libsa/libsa.h | 62 |
4 files changed, 47 insertions, 47 deletions
diff --git a/sys/arch/hppa/stand/libsa/cmd_hppa.c b/sys/arch/hppa/stand/libsa/cmd_hppa.c index 2e45ca0bbba..6ddee6e3f1f 100644 --- a/sys/arch/hppa/stand/libsa/cmd_hppa.c +++ b/sys/arch/hppa/stand/libsa/cmd_hppa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd_hppa.c,v 1.2 2002/03/06 23:09:44 miod Exp $ */ +/* $OpenBSD: cmd_hppa.c,v 1.3 2002/03/14 01:26:32 millert Exp $ */ /* * Copyright (c) 2002 Miodrag Vallat @@ -90,19 +90,19 @@ struct consoledev graphics[MAX_GRAPHICS]; int walked; -void bus_walk __P((int)); -void register_device __P((struct consoledev *, int, - struct device_path *, struct iodc_data *, int, int)); +void bus_walk(int); +void register_device(struct consoledev *, int, + struct device_path *, struct iodc_data *, int, int); -int Xconsole __P((void)); -void print_console __P((void)); -int set_graphics __P((struct device_path *, int, char *)); -int set_serial __P((struct device_path *, int, char *)); -int set_console __P((struct device_path *)); +int Xconsole(void); +void print_console(void); +int set_graphics(struct device_path *, int, char *); +int set_serial(struct device_path *, int, char *); +int set_console(struct device_path *); -int Xkeyboard __P((void)); -void print_keyboard __P((void)); -int set_keyboard __P((struct device_path *)); +int Xkeyboard(void); +void print_keyboard(void); +int set_keyboard(struct device_path *); struct cmd_table cmd_machine[] = { { "console", CMDT_CMD, Xconsole }, diff --git a/sys/arch/hppa/stand/libsa/dev_hppa.h b/sys/arch/hppa/stand/libsa/dev_hppa.h index f4c6e75cb40..73ccf9352cd 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.3 1999/04/20 20:01:01 mickey Exp $ */ +/* $OpenBSD: dev_hppa.h,v 1.4 2002/03/14 01:26:32 millert Exp $ */ #define IOPGSHIFT 11 @@ -39,5 +39,5 @@ extern pdcio_t pdc; extern int pdcbuf[]; /* PDC returns, pdc.c */ extern struct pz_device ctdev; /* cartridge tape (boot) device path */ -int iodc_rw __P((char *, u_int, u_int, int func, struct pz_device *)); +int iodc_rw(char *, u_int, u_int, int func, struct pz_device *); diff --git a/sys/arch/hppa/stand/libsa/exec_hppa.c b/sys/arch/hppa/stand/libsa/exec_hppa.c index bd79e411352..9b28dad76bf 100644 --- a/sys/arch/hppa/stand/libsa/exec_hppa.c +++ b/sys/arch/hppa/stand/libsa/exec_hppa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_hppa.c,v 1.7 1999/05/06 02:13:15 mickey Exp $ */ +/* $OpenBSD: exec_hppa.c,v 1.8 2002/03/14 01:26:32 millert Exp $ */ /* * Copyright (c) 1998 Michael Shalayeff @@ -45,7 +45,7 @@ #include <machine/pdc.h> #include "dev_hppa.h" -typedef void (*startfuncp) __P((int, int, int, int, int, int, caddr_t)) +typedef void (*startfuncp)(int, int, int, int, int, int, caddr_t) __attribute__ ((noreturn)); void diff --git a/sys/arch/hppa/stand/libsa/libsa.h b/sys/arch/hppa/stand/libsa/libsa.h index a08bbd0beb6..158c7a5d9a4 100644 --- a/sys/arch/hppa/stand/libsa/libsa.h +++ b/sys/arch/hppa/stand/libsa/libsa.h @@ -1,4 +1,4 @@ -/* $OpenBSD: libsa.h,v 1.8 2002/03/02 09:36:43 miod Exp $ */ +/* $OpenBSD: libsa.h,v 1.9 2002/03/14 01:26:32 millert Exp $ */ /* * Copyright (c) 1998 Michael Shalayeff @@ -40,47 +40,47 @@ extern dev_t bootdev; -void pdc_init __P((void)); +void pdc_init(void); struct pz_device; -struct pz_device *pdc_findev __P((int, int)); +struct pz_device *pdc_findev(int, int); -int iodcstrategy __P((void *, int, daddr_t, size_t, void *, size_t *)); +int iodcstrategy(void *, int, daddr_t, size_t, void *, size_t *); -int ctopen __P((struct open_file *, ...)); -int ctclose __P((struct open_file *)); +int ctopen(struct open_file *, ...); +int ctclose(struct open_file *); -int dkopen __P((struct open_file *, ...)); -int dkclose __P((struct open_file *)); +int dkopen(struct open_file *, ...); +int dkclose(struct open_file *); -int lfopen __P((struct open_file *, ...)); -int lfstrategy __P((void *, int, daddr_t, size_t, void *, size_t *)); -int lfclose __P((struct open_file *)); +int lfopen(struct open_file *, ...); +int lfstrategy(void *, int, daddr_t, size_t, void *, size_t *); +int lfclose(struct open_file *); -void ite_probe __P((struct consdev *)); -void ite_init __P((struct consdev *)); -int ite_getc __P((dev_t)); -void ite_putc __P((dev_t, int)); -void ite_pollc __P((dev_t, int)); +void ite_probe(struct consdev *); +void ite_init(struct consdev *); +int ite_getc(dev_t); +void ite_putc(dev_t, int); +void ite_pollc(dev_t, int); -void machdep __P((void)); -void devboot __P((dev_t, char *)); -void fcacheall __P((void)); +void machdep(void); +void devboot(dev_t, char *); +void fcacheall(void); -int lif_open __P((char *path, struct open_file *f)); -int lif_close __P((struct open_file *f)); -int lif_read __P((struct open_file *f, void *buf, - size_t size, size_t *resid)); -int lif_write __P((struct open_file *f, void *buf, - size_t size, size_t *resid)); -off_t lif_seek __P((struct open_file *f, off_t offset, int where)); -int lif_stat __P((struct open_file *f, struct stat *sb)); -int lif_readdir __P((struct open_file *f, char *name)); +int lif_open(char *path, struct open_file *f); +int lif_close(struct open_file *f); +int lif_read(struct open_file *f, void *buf, + size_t size, size_t *resid); +int lif_write(struct open_file *f, void *buf, + size_t size, size_t *resid); +off_t lif_seek(struct open_file *f, off_t offset, int where); +int lif_stat(struct open_file *f, struct stat *sb); +int lif_readdir(struct open_file *f, char *name); union x_header; struct x_param; -int som_probe __P((int, union x_header *)); -int som_load __P((int, struct x_param *)); -int som_ldsym __P((int, struct x_param *)); +int som_probe(int, union x_header *); +int som_load(int, struct x_param *); +int som_ldsym(int, struct x_param *); extern int debug; |