initial checkin of new hdw-linux development cvs repository
[hdw-linux/hdw-linux.git] / packages / base / net-tools / gcc_34.patch
1 --- net-tools-1.60.orig/hostname.c      2001-04-08 13:04:23.000000000 -0400
2 +++ net-tools-1.60/hostname.c   2004-04-09 13:07:20.229598908 -0400
3 @@ -98,6 +98,7 @@
4             fprintf(stderr, _("%s: name too long\n"), program_name);
5             break;
6         default:
7 +           ((void)0);
8         }
9         exit(1);
10      };
11 @@ -117,6 +118,7 @@
12             fprintf(stderr, _("%s: name too long\n"), program_name);
13             break;
14         default:
15 +           ((void)0);
16         }
17         exit(1);
18      };
19 @@ -174,6 +176,7 @@
20         printf("%s\n", hp->h_name);
21         break;
22      default:
23 +       ((void)0);
24      }
25  }
26  
27 --- net-tools-1.60.orig/lib/inet_sr.c   2000-02-20 16:46:45.000000000 -0500
28 +++ net-tools-1.60/lib/inet_sr.c        2004-04-09 13:07:20.229598908 -0400
29 @@ -105,6 +105,7 @@
30      case 2:
31         isnet = 0; break;
32      default:
33 +       ((void)0);
34      }
35  
36      /* Fill in the other fields. */
37 --- net-tools-1.60.orig/mii-tool.c      2000-05-21 10:31:17.000000000 -0400
38 +++ net-tools-1.60/mii-tool.c   2004-04-09 13:07:18.090313038 -0400
39 @@ -379,17 +379,17 @@
40  /*--------------------------------------------------------------------*/
41  
42  const char *usage =
43 -"usage: %s [-VvRrwl] [-A media,... | -F media] [interface ...]
44 -       -V, --version               display version information
45 -       -v, --verbose               more verbose output
46 -       -R, --reset                 reset MII to poweron state
47 -       -r, --restart               restart autonegotiation
48 -       -w, --watch                 monitor for link status changes
49 -       -l, --log                   with -w, write events to syslog
50 -       -A, --advertise=media,...   advertise only specified media
51 -       -F, --force=media           force specified media technology
52 -media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD,
53 -       (to advertise both HD and FD) 100baseTx, 10baseT\n";
54 +"usage: %s [-VvRrwl] [-A media,... | -F media] [interface ...]\n"
55 +"       -V, --version               display version information\n"
56 +"       -v, --verbose               more verbose output\n"
57 +"       -R, --reset                 reset MII to poweron state\n"
58 +"       -r, --restart               restart autonegotiation\n"
59 +"       -w, --watch                 monitor for link status changes\n"
60 +"       -l, --log                   with -w, write events to syslog\n"
61 +"       -A, --advertise=media,...   advertise only specified media\n"
62 +"       -F, --force=media           force specified media technology\n"
63 +"media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD,\n"
64 +"       (to advertise both HD and FD) 100baseTx, 10baseT\n";
65  
66  int main(int argc, char **argv)
67  {