summaryrefslogtreecommitdiffstats
path: root/sys/dev/speaker
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>1999-11-02 22:50:34 +0000
committerarchie <archie@FreeBSD.org>1999-11-02 22:50:34 +0000
commit379a856804bca45181540d407b067f13b50206fa (patch)
treeab819ec57aa1f139619750c38ba931be5abe584f /sys/dev/speaker
parent71ff24eb062b0e46efa862cb9769dd91357344e4 (diff)
downloadFreeBSD-src-379a856804bca45181540d407b067f13b50206fa.zip
FreeBSD-src-379a856804bca45181540d407b067f13b50206fa.tar.gz
Consolidate some of the various ctype(3) macros in one location.
Diffstat (limited to 'sys/dev/speaker')
-rw-r--r--sys/dev/speaker/spkr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/speaker/spkr.c b/sys/dev/speaker/spkr.c
index 10cc4a1..7054b27 100644
--- a/sys/dev/speaker/spkr.c
+++ b/sys/dev/speaker/spkr.c
@@ -151,8 +151,6 @@ typedef int bool;
#define TRUE 1
#define FALSE 0
-#define toupper(c) ((c) - ' ' * (((c) >= 'a') && ((c) <= 'z')))
-#define isdigit(c) (((c) >= '0') && ((c) <= '9'))
#define dtoi(c) ((c) - '0')
static int octave; /* currently selected octave */
OpenPOWER on IntegriCloud