]> git.pld-linux.org Git - packages/net-tools.git/blob - net-tools-gcc34.patch
- strict internal deps, check-files cleanup
[packages/net-tools.git] / net-tools-gcc34.patch
1 --- net-tools-1.60/lib/inet_sr.c.orig   2000-02-20 22:46:45.000000000 +0100
2 +++ net-tools-1.60/lib/inet_sr.c        2004-03-08 11:48:59.122481000 +0100
3 @@ -104,7 +104,6 @@
4         isnet = 1; break;
5      case 2:
6         isnet = 0; break;
7 -    default:
8      }
9  
10      /* Fill in the other fields. */
11 --- net-tools-1.60/hostname.c.orig      2001-04-08 19:04:23.000000000 +0200
12 +++ net-tools-1.60/hostname.c   2004-03-08 11:51:41.000000000 +0100
13 @@ -31,6 +31,7 @@
14   *              your option) any later version.
15   */
16  #include <stdio.h>
17 +#include <stdlib.h>
18  #include <unistd.h>
19  #include <getopt.h>
20  #include <string.h>
21 @@ -97,7 +98,6 @@
22         case EINVAL:
23             fprintf(stderr, _("%s: name too long\n"), program_name);
24             break;
25 -       default:
26         }
27         exit(1);
28      };
29 @@ -116,7 +116,6 @@
30         case EINVAL:
31             fprintf(stderr, _("%s: name too long\n"), program_name);
32             break;
33 -       default:
34         }
35         exit(1);
36      };
37 @@ -173,7 +172,6 @@
38             *p = '\0';
39         printf("%s\n", hp->h_name);
40         break;
41 -    default:
42      }
43  }
44  
45 --- net-tools-1.60/lib/inet6_sr.c.orig  2006-05-03 11:58:01.000000000 +0200
46 +++ net-tools-1.60/lib/inet6_sr.c       2006-05-03 12:00:49.000000000 +0200
47 @@ -33,6 +33,7 @@
48  #include "pathnames.h"
49  #include "intl.h"
50  #include "net-features.h"
51 +#include "util.h"
52  
53  
54  
This page took 0.028053 seconds and 3 git commands to generate.