diff options
| author | 2002-03-14 01:26:25 +0000 | |
|---|---|---|
| committer | 2002-03-14 01:26:25 +0000 | |
| commit | c4071fd13883b3f74b90a411bbb39755a785aeaa (patch) | |
| tree | 241e7c760222fac909b512d36156c6db1b610256 /sys/arch/sparc/dev/flash.c | |
| parent | compare pointers with NULL not 0 (diff) | |
| download | wireguard-openbsd-c4071fd13883b3f74b90a411bbb39755a785aeaa.tar.xz wireguard-openbsd-c4071fd13883b3f74b90a411bbb39755a785aeaa.zip | |
First round of __P removal in sys
Diffstat (limited to 'sys/arch/sparc/dev/flash.c')
| -rw-r--r-- | sys/arch/sparc/dev/flash.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/sparc/dev/flash.c b/sys/arch/sparc/dev/flash.c index e7b68f459a0..caa9592bb4e 100644 --- a/sys/arch/sparc/dev/flash.c +++ b/sys/arch/sparc/dev/flash.c @@ -1,4 +1,4 @@ -/* $OpenBSD: flash.c,v 1.1 1999/07/23 19:11:26 jason Exp $ */ +/* $OpenBSD: flash.c,v 1.2 2002/03/14 01:26:43 millert Exp $ */ /* * Copyright (c) 1999 Jason L. Wright (jason@thought.net) @@ -48,15 +48,15 @@ #include <sparc/cpu.h> #include <sparc/sparc/cpuvar.h> -int flashmatch __P((struct device *, void *, void *)); -void flashattach __P((struct device *, struct device *, void *)); +int flashmatch(struct device *, void *, void *); +void flashattach(struct device *, struct device *, void *); -int flashopen __P((dev_t, int, int, struct proc *p)); -int flashclose __P((dev_t, int, int, struct proc *p)); -int flashread __P((dev_t, struct uio *, int)); -int flashwrite __P((dev_t, struct uio *, int)); -int flashrw __P((dev_t, struct uio *, int)); -int flashioctl __P((dev_t, u_long, caddr_t, int, struct proc *)); +int flashopen(dev_t, int, int, struct proc *p); +int flashclose(dev_t, int, int, struct proc *p); +int flashread(dev_t, struct uio *, int); +int flashwrite(dev_t, struct uio *, int); +int flashrw(dev_t, struct uio *, int); +int flashioctl(dev_t, u_long, caddr_t, int, struct proc *); /* * We see the flash-memory in 512k windows. The current window is |
