diff options
author | phk <phk@FreeBSD.org> | 2002-09-28 17:15:38 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-09-28 17:15:38 +0000 |
commit | 1dfc2c167f0c0ee95c98088b2c05b50350b97ddb (patch) | |
tree | 072f805928e7e540a4d2c0a3a7ec37f7529204a0 /sys/isa/fd.c | |
parent | 523f5243860c40ec5c7a3e961080d6035dbcb435 (diff) | |
download | FreeBSD-src-1dfc2c167f0c0ee95c98088b2c05b50350b97ddb.zip FreeBSD-src-1dfc2c167f0c0ee95c98088b2c05b50350b97ddb.tar.gz |
Be consistent about "static" functions: if the function is marked
static in its prototype, mark it static at the definition too.
Inspired by: FlexeLint warning #512
Diffstat (limited to 'sys/isa/fd.c')
-rw-r--r-- | sys/isa/fd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/isa/fd.c b/sys/isa/fd.c index 5e4d381..fae210c 100644 --- a/sys/isa/fd.c +++ b/sys/isa/fd.c @@ -1520,7 +1520,7 @@ fd_in(struct fdc_data *fdc, int *ptr) #endif /* FDC_DEBUG */ } -int +static int out_fdc(struct fdc_data *fdc, int x) { int i, j, step; @@ -1548,7 +1548,7 @@ out_fdc(struct fdc_data *fdc, int x) * Block device driver interface functions (interspersed with even more * auxiliary functions). */ -int +static int Fdopen(dev_t dev, int flags, int mode, struct thread *td) { fdu_t fdu = FDUNIT(minor(dev)); @@ -1644,7 +1644,7 @@ Fdopen(dev_t dev, int flags, int mode, struct thread *td) return 0; } -int +static int fdclose(dev_t dev, int flags, int mode, struct thread *td) { fdu_t fdu = FDUNIT(minor(dev)); @@ -1657,7 +1657,7 @@ fdclose(dev_t dev, int flags, int mode, struct thread *td) return (0); } -void +static void fdstrategy(struct bio *bp) { long blknum, nblocks; |