summaryrefslogtreecommitdiff
path: root/audio/dtmfdial/files/patch-dial.c
blob: 7342f45da13c4b8003359a157ddee1b42dd4acdb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- dial.c.orig	1998-03-20 16:13:44 UTC
+++ dial.c
@@ -7,10 +7,10 @@
 #include <math.h>
 #include <stdio.h>
 #include <fcntl.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <linux/soundcard.h>
+#include <sys/soundcard.h>
 
 #define DEBUG(x)
 
@@ -130,7 +130,7 @@ getvalue(int *arg, int *index, int argc,
 	++*index;
 }
 
-void
+int
 main(int argc, char **argv)
 {
 	char *cp;