summaryrefslogtreecommitdiffstats
path: root/source/n/net-tools/net-tools.switch.default.gcc4.diff
blob: 4d7090e0f6d14e4eb080ed406f99c20f24a44e63 (about) (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
--- ./hostname.c.orig	2001-04-08 12:04:23.000000000 -0500
+++ ./hostname.c	2010-08-12 12:19:29.181510641 -0500
@@ -78,6 +78,7 @@
             fprintf(stderr, _("%s: name too long\n"), program_name);
             break;
         default:
+            break;
         }
 	exit(1);
     }
@@ -98,6 +99,7 @@
 	    fprintf(stderr, _("%s: name too long\n"), program_name);
 	    break;
 	default:
+            break;
 	}
 	exit(1);
     };
@@ -117,6 +119,7 @@
 	    fprintf(stderr, _("%s: name too long\n"), program_name);
 	    break;
 	default:
+	    break;
 	}
 	exit(1);
     };
@@ -174,6 +177,7 @@
 	printf("%s\n", hp->h_name);
 	break;
     default:
+        break;
     }
 }
 
@@ -330,7 +334,6 @@
 	case 'h':
 	default:
 	    usage();
-
 	};