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/dev/digi/digi.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/dev/digi/digi.c')
-rw-r--r-- | sys/dev/digi/digi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/digi/digi.c b/sys/dev/digi/digi.c index 7d0f58a..57f6022 100644 --- a/sys/dev/digi/digi.c +++ b/sys/dev/digi/digi.c @@ -713,7 +713,7 @@ digi_disc_optim(struct tty *tp, struct termios *t, struct digi_p *port) tp->t_state &= ~TS_CAN_BYPASS_L_RINT; } -int +static int digiopen(dev_t dev, int flag, int mode, struct thread *td) { struct digi_softc *sc; @@ -878,7 +878,7 @@ out: return (error); } -int +static int digiclose(dev_t dev, int flag, int mode, struct thread *td) { int mynor; @@ -958,7 +958,7 @@ digihardclose(struct digi_p *port) splx(s); } -int +static int digiread(dev_t dev, struct uio *uio, int flag) { int mynor; @@ -984,7 +984,7 @@ digiread(dev_t dev, struct uio *uio, int flag) return (error); } -int +static int digiwrite(dev_t dev, struct uio *uio, int flag) { int mynor; |