net-tools/net-tools-1.60-gcc4.patch

43 lines
1011 B
Diff
Raw Normal View History

diff -ru net-tools-1.60.orig/hostname.c net-tools-1.60/hostname.c
--- net-tools-1.60.orig/hostname.c 2005-09-13 18:20:15.000000000 +0200
+++ net-tools-1.60/hostname.c 2005-09-13 18:22:35.000000000 +0200
@@ -97,7 +97,7 @@
case EINVAL:
fprintf(stderr, _("%s: name too long\n"), program_name);
break;
- default:
+ default: ;
}
exit(1);
};
@@ -116,7 +116,7 @@
case EINVAL:
fprintf(stderr, _("%s: name too long\n"), program_name);
break;
- default:
+ default: ;
}
exit(1);
};
@@ -173,7 +173,7 @@
*p = '\0';
printf("%s\n", hp->h_name);
break;
- default:
+ default: ;
}
}
diff -ru 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 2005-09-13 18:20:15.000000000 +0200
+++ net-tools-1.60/lib/inet_sr.c 2005-09-13 18:21:20.000000000 +0200
@@ -104,7 +104,7 @@
isnet = 1; break;
case 2:
isnet = 0; break;
- default:
+ default: ;
}
/* Fill in the other fields. */