]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
* utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
authorchip <chip>
Tue, 9 Sep 2003 17:53:01 +0000 (17:53 +0000)
committerchip <chip>
Tue, 9 Sep 2003 17:53:01 +0000 (17:53 +0000)
* tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
* tools/rpcgen/rpc_parse.c (def_union): Likewise.

ChangeLog
tools/rpcgen/rpc_cout.c
tools/rpcgen/rpc_parse.c
utils/showmount/showmount.c

index 67e753b4172d1ce7b38ecb4c06dee9bc00e05972..a9f2fcf4a00daf164951582ed2ce09f692351899 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
        * debian/changelog: Version 1.0.5-3.
        * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
        on invalid reverse DNS.
+       * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
+       * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
+       * tools/rpcgen/rpc_parse.c (def_union): Likewise.
 
 2003-08-22  Chip Salzenberg  <chip@pobox.com>
 
index 5f4c3e787026f5414f25e78bcd2a3644b2f2a132..cf281adc000f5fee9047de451ac18dbf5c4c071b 100644 (file)
@@ -156,9 +156,6 @@ static void
 print_header(definition *def)
 {
        decl_list      *dl;
-       bas_type       *ptr;
-       int             i;
-
 
        print_generic_header(def->def_name,
                def->def_kind != DEF_TYPEDEF ||
index dcbe8dbb13b29db87d44368e45d0e08ab0fd5fed..577312ecb109d7f396ac994e4a692422f93a0612 100644 (file)
@@ -288,7 +288,7 @@ def_union(definition *defp)
 {
   token tok;
   declaration dec;
-  case_list *cases,*tcase;
+  case_list *cases;
   case_list **tailp;
   int flag;
 
index 1ff3fa11c620ab5e1d9016331a32df50e961ef2d..92c6ef963ee0c6c7fead5421b3e4af3ba8518672 100644 (file)
@@ -154,7 +154,7 @@ char **argv;
                break;
        }
 
-       if (inet_aton(hostname, &server_addr.sin_addr.s_addr)) {
+       if (inet_aton(hostname, &server_addr.sin_addr)) {
                server_addr.sin_family = AF_INET;
        }
        else {