summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2001-06-26 22:07:25 +0000
committerjoerg <joerg@FreeBSD.org>2001-06-26 22:07:25 +0000
commitee8f9973586ab989946a66bc5a030d933e993888 (patch)
treeac4372e5e2aa93aafd5ec6248bf374538fb83f83 /sys/isa
parent773e1607789dcccaee7122556d14d6d3698355ca (diff)
downloadFreeBSD-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/isa')
-rw-r--r--sys/isa/fd.c32
1 files changed, 4 insertions, 28 deletions
diff --git a/sys/isa/fd.c b/sys/isa/fd.c
index 21c3d9a..6c7ee9c 100644
--- a/sys/isa/fd.c
+++ b/sys/isa/fd.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:
- */
OpenPOWER on IntegriCloud