summaryrefslogtreecommitdiff
path: root/audio/cam/patches/patch-cam_c
blob: e6e83d77011e5985374fa169e2adf0db667b9d81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-cam_c,v 1.1 2011/08/28 21:13:14 dholland Exp $

- fix void main.

--- cam.c~	1996-04-09 18:17:57.000000000 +0000
+++ cam.c
@@ -26,7 +26,7 @@
 
 #include "cam.h"
 
-void main(int argc, char *argv[])
+int main(int argc, char *argv[])
 {
   if (argc == 1)
   {   
@@ -37,9 +37,9 @@ void main(int argc, char *argv[])
      set_screen();
      ctrl_sliders();     
      finish(0);
-     exit(0);
   } else
      set_sound(argc, argv);
+  exit(0);
 }
 /* End of main() */