summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--tools/rpcgen/rpc_cout.c3
-rw-r--r--tools/rpcgen/rpc_parse.c2
-rw-r--r--utils/showmount/showmount.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 67e753b..a9f2fcf 100644
--- 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>
diff --git a/tools/rpcgen/rpc_cout.c b/tools/rpcgen/rpc_cout.c
index 5f4c3e7..cf281ad 100644
--- a/tools/rpcgen/rpc_cout.c
+++ b/tools/rpcgen/rpc_cout.c
@@ -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 ||
diff --git a/tools/rpcgen/rpc_parse.c b/tools/rpcgen/rpc_parse.c
index dcbe8db..577312e 100644
--- a/tools/rpcgen/rpc_parse.c
+++ b/tools/rpcgen/rpc_parse.c
@@ -288,7 +288,7 @@ def_union(definition *defp)
{
token tok;
declaration dec;
- case_list *cases,*tcase;
+ case_list *cases;
case_list **tailp;
int flag;
diff --git a/utils/showmount/showmount.c b/utils/showmount/showmount.c
index 1ff3fa1..92c6ef9 100644
--- a/utils/showmount/showmount.c
+++ b/utils/showmount/showmount.c
@@ -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 {