From f29b86c314e6e2b44a1eb83f1b44a3849d82655e Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Tue, 24 Feb 2004 13:50:19 +0000 Subject: Many compiler warning cleanups. Small fixes for W32 (from Jonathan Grant ) Maintainer enhancements to clean up the tree. --- ar.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'ar.c') diff --git a/ar.c b/ar.c index 3b9d3a7..6715142 100644 --- a/ar.c +++ b/ar.c @@ -122,9 +122,10 @@ ar_member_date (char *name) /* ARGSUSED */ static long int -ar_member_date_1 (int desc, char *mem, int truncated, - long int hdrpos, long int datapos, long int size, - long int date, int uid, int gid, int mode, char *name) +ar_member_date_1 (int desc UNUSED, char *mem, int truncated, + long int hdrpos UNUSED, long int datapos UNUSED, + long int size UNUSED, long int date, + int uid UNUSED, int gid UNUSED, int mode UNUSED, char *name) { return ar_name_equal (name, mem, truncated) ? date : 0; } @@ -209,10 +210,10 @@ struct ar_glob_state element against the pattern in STATE. */ static long int -ar_glob_match (int desc, char *mem, int truncated, - long int hdrpos, long int datapos, long int size, - long int date, int uid, int gid, int mode, - struct ar_glob_state *state) +ar_glob_match (int desc UNUSED, char *mem, int truncated UNUSED, + long int hdrpos UNUSED, long int datapos UNUSED, + long int size UNUSED, long int date UNUSED, int uid UNUSED, + int gid UNUSED, int mode UNUSED, struct ar_glob_state *state) { if (fnmatch (state->pattern, mem, FNM_PATHNAME|FNM_PERIOD) == 0) { -- cgit v1.2.3