summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/net-tools/gcc340.patch
blob: 8089bf217e463d251ac756662f09f44b14096c30 (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
diff -Naur net-tools-1.60-orig/hostname.c net-tools-1.60/hostname.c
--- net-tools-1.60-orig/hostname.c	2001-04-08 10:04:23.000000000 -0700
+++ net-tools-1.60/hostname.c	2004-05-07 17:22:14.000000000 -0700
@@ -78,6 +78,7 @@
             fprintf(stderr, _("%s: name too long\n"), program_name);
             break;
         default:
+	    ;
         }
 	exit(1);
     }
@@ -98,6 +99,7 @@
 	    fprintf(stderr, _("%s: name too long\n"), program_name);
 	    break;
 	default:
+	    ;
 	}
 	exit(1);
     };
@@ -117,6 +119,7 @@
 	    fprintf(stderr, _("%s: name too long\n"), program_name);
 	    break;
 	default:
+	    ;
 	}
 	exit(1);
     };
@@ -174,6 +177,7 @@
 	printf("%s\n", hp->h_name);
 	break;
     default:
+	;
     }
 }
 
diff -Naur net-tools-1.60-orig/lib/inet_sr.c net-tools-1.60/lib/inet_sr.c
--- net-tools-1.60-orig/lib/inet_sr.c	2000-02-20 13:46:45.000000000 -0800
+++ net-tools-1.60/lib/inet_sr.c	2004-05-07 17:20:14.000000000 -0700
@@ -105,6 +105,7 @@
     case 2:
        isnet = 0; break;
     default:
+       ;
     }
 
     /* Fill in the other fields. */