summaryrefslogtreecommitdiff
path: root/network/wavemon/patches/wavemon-gcc34.patch
blob: c1bb24489c2c9a82e758af48a2a9df8809b8a870 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
--- conf.c.orig	2008-06-12 00:34:23.000000000 -0400
+++ conf.c	2008-06-12 00:41:27.000000000 -0400
@@ -410,7 +410,7 @@
 									}
 									break;
 					case t_sep: 	/* gcc -Wall sucks */
-					case t_func:
+					case t_func: break;
 				}
 			}
 		}
@@ -481,7 +481,7 @@
 							break;
 				case t_listval: sprintf(rv, "%s", (char *)ci->v);
 				case t_sep: break;
-				case t_func:
+				case t_func: break;
 			}
 			
 			add = 1;
--- conf_scr.c.orig	2008-06-12 00:34:32.000000000 -0400
+++ conf_scr.c	2008-06-12 00:42:17.000000000 -0400
@@ -63,7 +63,7 @@
 			case t_listval:	strncpy(s, (char *)item->v, 32);
 							break;
 			case t_sep:		/* gcc -Wall sucks */
-			case t_func:
+			case t_func: break;
 		}
 
 		if (!item->unit) {
@@ -136,7 +136,7 @@
 						strncpy((char *)item->v, ll_get(item->list, tmp), 32);
 						break;
 		case t_sep:		/* gcc -Wall sucks */
-		case t_func:
+		case t_func: break;
 	}
 }	
 
--- wavemon.c.orig	2008-06-11 22:09:07.000000000 -0400
+++ wavemon.c	2008-06-11 22:09:15.000000000 -0400
@@ -170,7 +170,7 @@
 
 	if (conf.dump == 1) {
 	  dump_parameters(&conf);
-	  exit();
+	  exit(0);
 	}
 
 	/* initialize the ncurses interface */