* 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 67e753b..a9f2fcf 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 5f4c3e7..cf281ad 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 dcbe8db..577312e 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 1ff3fa1..92c6ef9 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 {