diff options
author | joerg <joerg@FreeBSD.org> | 2001-06-26 22:07:25 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2001-06-26 22:07:25 +0000 |
commit | ee8f9973586ab989946a66bc5a030d933e993888 (patch) | |
tree | ac4372e5e2aa93aafd5ec6248bf374538fb83f83 /sys/dev/fdc | |
parent | 773e1607789dcccaee7122556d14d6d3698355ca (diff) | |
download | FreeBSD-src-ee8f9973586ab989946a66bc5a030d933e993888.zip FreeBSD-src-ee8f9973586ab989946a66bc5a030d933e993888.tar.gz |
Some more cosmetics: kill another couple of K&R function definitions
that survived from old days, fix style of return type in fdcpio(),
kill old Emacs hints that are no longer working that way anyway.
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r-- | sys/dev/fdc/fdc.c | 32 |
1 files changed, 4 insertions, 28 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index 21c3d9a..6c7ee9c 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -1627,7 +1627,8 @@ fdc_intr(void *xfdc) /* * fdcpio(): perform programmed IO read/write for YE PCMCIA floppy */ -static int fdcpio(fdc_p fdc, long flags, caddr_t addr, u_int count) +static int +fdcpio(fdc_p fdc, long flags, caddr_t addr, u_int count) { u_char *cptr = (u_char *)addr; @@ -2220,10 +2221,7 @@ fdbiodone(struct bio *bp) } static int -fdformat(dev, finfo, p) - dev_t dev; - struct fd_formb *finfo; - struct proc *p; +fdformat(dev_t dev, struct fd_formb *finfo, struct proc *p) { fdu_t fdu; fd_p fd; @@ -2291,12 +2289,7 @@ fdformat(dev, finfo, p) */ static int -fdioctl(dev, cmd, addr, flag, p) - dev_t dev; - u_long cmd; - caddr_t addr; - int flag; - struct proc *p; +fdioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p) { fdu_t fdu = FDUNIT(minor(dev)); fd_p fd = devclass_get_softc(fd_devclass, fdu); @@ -2400,20 +2393,3 @@ fdioctl(dev, cmd, addr, flag, p) } return (error); } - -/* - * Hello emacs, these are the - * Local Variables: - * c-indent-level: 8 - * c-continued-statement-offset: 8 - * c-continued-brace-offset: 0 - * c-brace-offset: -8 - * c-brace-imaginary-offset: 0 - * c-argdecl-indent: 8 - * c-label-offset: -8 - * c++-hanging-braces: 1 - * c++-access-specifier-offset: -8 - * c++-empty-arglist-indent: 8 - * c++-friend-offset: 0 - * End: - */ |