source:
scripts/patches/net-tools-1.60-gcc4_fixes-1.patch@
966d3087
Last change on this file since 966d3087 was 7f65c0e, checked in by , 19 years ago | |
---|---|
|
|
File size: 991 bytes |
-
net-tools-1.
Fixes "error: label at end of compound statement" issues diff -uNr net-tools-1.60-orig/hostname.c net-tools-1.60/hostname.c
old new 98 98 fprintf(stderr, _("%s: name too long\n"), program_name); 99 99 break; 100 100 default: 101 ; 101 102 } 102 103 exit(1); 103 104 }; … … 117 118 fprintf(stderr, _("%s: name too long\n"), program_name); 118 119 break; 119 120 default: 121 ; 120 122 } 121 123 exit(1); 122 124 }; … … 174 176 printf("%s\n", hp->h_name); 175 177 break; 176 178 default: 179 ; 177 180 } 178 181 } 179 182 -
lib/inet_sr.c
diff -uNr net-tools-1.60-orig/lib/inet_sr.c net-tools-1.60/lib/inet_sr.c
old new 105 105 case 2: 106 106 isnet = 0; break; 107 107 default: 108 ; 108 109 } 109 110 110 111 /* Fill in the other fields. */
Note:
See TracBrowser
for help on using the repository browser.