summaryrefslogtreecommitdiffstats
path: root/sys/dev/speaker
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-12-08 23:23:00 +0000
committerphk <phk@FreeBSD.org>1995-12-08 23:23:00 +0000
commita69d1dfbcb7bc187703b1767f289aba2bd4edbb6 (patch)
tree0408fdddf8ea8eeab5dc960ead9a7c96a2e301bd /sys/dev/speaker
parent5a5b07fa54887595e0725dba442af441c842786a (diff)
downloadFreeBSD-src-a69d1dfbcb7bc187703b1767f289aba2bd4edbb6.zip
FreeBSD-src-a69d1dfbcb7bc187703b1767f289aba2bd4edbb6.tar.gz
Julian forgot to make the *devsw structures static.
Diffstat (limited to 'sys/dev/speaker')
-rw-r--r--sys/dev/speaker/spkr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/speaker/spkr.c b/sys/dev/speaker/spkr.c
index 160c18b..07cdb72 100644
--- a/sys/dev/speaker/spkr.c
+++ b/sys/dev/speaker/spkr.c
@@ -4,7 +4,7 @@
* v1.4 by Eric S. Raymond (esr@snark.thyrsus.com) Aug 1993
* modified for FreeBSD by Andrew A. Chernov <ache@astral.msk.su>
*
- * $Id: spkr.c,v 1.20 1995/11/29 14:39:59 julian Exp $
+ * $Id: spkr.c,v 1.21 1995/12/08 11:15:21 julian Exp $
*/
#include "speaker.h"
@@ -37,7 +37,7 @@ static d_write_t spkrwrite;
static d_ioctl_t spkrioctl;
#define CDEV_MAJOR 26
-struct cdevsw spkr_cdevsw =
+static struct cdevsw spkr_cdevsw =
{ spkropen, spkrclose, noread, spkrwrite, /*26*/
spkrioctl, nostop, nullreset, nodevtotty,/* spkr */
seltrue, nommap, NULL, "spkr", NULL, -1 };
OpenPOWER on IntegriCloud