1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-21 04:30:37 -04:00
ports/audio/dtmfdial/files/patch-dial.c
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

24 lines
430 B
C

--- 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;