summaryrefslogtreecommitdiffstats
path: root/sys/dev/speaker
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-20 07:51:46 +0000
committeralfred <alfred@FreeBSD.org>2002-03-20 07:51:46 +0000
commit728484a7457c5aef1f6a3d30a7bf3f6e215bf900 (patch)
tree30a9106ca00a2f588e91084d486ef8f073bf1b46 /sys/dev/speaker
parent064c0537d11ac3c5a37db86bdd0cb077e0532f0a (diff)
downloadFreeBSD-src-728484a7457c5aef1f6a3d30a7bf3f6e215bf900.zip
FreeBSD-src-728484a7457c5aef1f6a3d30a7bf3f6e215bf900.tar.gz
Remove __P.
Diffstat (limited to 'sys/dev/speaker')
-rw-r--r--sys/dev/speaker/spkr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/speaker/spkr.c b/sys/dev/speaker/spkr.c
index c457906..67084b6 100644
--- a/sys/dev/speaker/spkr.c
+++ b/sys/dev/speaker/spkr.c
@@ -68,12 +68,12 @@ static MALLOC_DEFINE(M_SPKR, "spkr", "Speaker buffer");
#define SPKRPRI PSOCK
static char endtone, endrest;
-static void tone __P((unsigned int thz, unsigned int ticks));
-static void rest __P((int ticks));
-static void playinit __P((void));
-static void playtone __P((int pitch, int value, int sustain));
-static int abs __P((int n));
-static void playstring __P((char *cp, size_t slen));
+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 */
static void
OpenPOWER on IntegriCloud