summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/pcaudio.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-12-10 13:40:44 +0000
committerphk <phk@FreeBSD.org>1995-12-10 13:40:44 +0000
commite7008a284eab826ab8cc8f3cdadd22a325c67196 (patch)
treeaaefb89a560ab76e15fa576ab1458dd020b6e04e /sys/i386/isa/pcaudio.c
parent6a1611e3f8697d6b86f0ce460a09f863f0645323 (diff)
downloadFreeBSD-src-e7008a284eab826ab8cc8f3cdadd22a325c67196.zip
FreeBSD-src-e7008a284eab826ab8cc8f3cdadd22a325c67196.tar.gz
Staticize and cleanup.
Diffstat (limited to 'sys/i386/isa/pcaudio.c')
-rw-r--r--sys/i386/isa/pcaudio.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/i386/isa/pcaudio.c b/sys/i386/isa/pcaudio.c
index 070ec8f..85ebd01 100644
--- a/sys/i386/isa/pcaudio.c
+++ b/sys/i386/isa/pcaudio.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pcaudio.c,v 1.22 1995/12/08 11:14:45 julian Exp $
+ * $Id: pcaudio.c,v 1.23 1995/12/08 23:20:36 phk Exp $
*/
#include "pca.h"
@@ -87,8 +87,8 @@ static int pca_sleep = 0;
static int pca_initialized = 0;
void pcaintr(struct clockframe *frame);
-int pcaprobe(struct isa_device *dvp);
-int pcaattach(struct isa_device *dvp);
+static int pcaprobe(struct isa_device *dvp);
+static int pcaattach(struct isa_device *dvp);
struct isa_driver pcadriver = {
pcaprobe, pcaattach, "pca",
@@ -107,7 +107,7 @@ static struct cdevsw pca_cdevsw =
pcaselect, nommap, NULL, "pca", NULL, -1 };
-inline void conv(const void *table, void *buff, unsigned long n)
+static inline void conv(const void *table, void *buff, unsigned long n)
{
__asm__("1:\tmovb (%2), %3\n"
"\txlatb\n"
@@ -232,7 +232,7 @@ pca_wait(void)
}
-int
+static int
pcaprobe(struct isa_device *dvp)
{
return(-1);
@@ -261,7 +261,7 @@ pca_registerdev(struct isa_device *id)
}
-int
+static int
pcaattach(struct isa_device *dvp)
{
printf("pca%d: PC speaker audio driver\n", dvp->id_unit);
OpenPOWER on IntegriCloud