summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/speaker/spkr.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/dev/speaker/spkr.c b/sys/dev/speaker/spkr.c
index 4c8966e..de4c5ca 100644
--- a/sys/dev/speaker/spkr.c
+++ b/sys/dev/speaker/spkr.c
@@ -99,7 +99,6 @@ static void tone(unsigned int thz, unsigned int ticks);
static void rest(int ticks);
static void playinit(void);
static void playtone(int pitch, int value, int sustain);
-static int abs(int n);
static void playstring(char *cp, size_t slen);
/* emit tone of frequency thz for given number of ticks */
@@ -274,16 +273,6 @@ playtone(pitch, value, sustain)
}
}
-static int
-abs(n)
- int n;
-{
- if (n < 0)
- return(-n);
- else
- return(n);
-}
-
/* interpret and play an item from a notation string */
static void
playstring(cp, slen)
OpenPOWER on IntegriCloud