diff options
author | Paul Smith <psmith@gnu.org> | 2004-02-24 13:50:19 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2004-02-24 13:50:19 +0000 |
commit | a4c7e4f057176ecda47d96314c2938b78ada71bf (patch) | |
tree | 0e83f1ad4a44542b088878e8b9d6de48f16e949d /ar.c | |
parent | 2bfbffb163c0cdfce06ea31732a6289d26a2885a (diff) | |
download | make-a4c7e4f057176ecda47d96314c2938b78ada71bf.tar.gz |
Many compiler warning cleanups.
Small fixes for W32 (from Jonathan Grant <jg-make@jguk.org>)
Maintainer enhancements to clean up the tree.
Diffstat (limited to 'ar.c')
-rw-r--r-- | ar.c | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -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) { |