summaryrefslogtreecommitdiff
path: root/ar.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2004-02-24 13:50:19 +0000
committerPaul Smith <psmith@gnu.org>2004-02-24 13:50:19 +0000
commitf29b86c314e6e2b44a1eb83f1b44a3849d82655e (patch)
tree0e83f1ad4a44542b088878e8b9d6de48f16e949d /ar.c
parentbe8c3dbc974c35fac33c8392b89482c10e4f8650 (diff)
downloadgunmake-f29b86c314e6e2b44a1eb83f1b44a3849d82655e.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.c15
1 files changed, 8 insertions, 7 deletions
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)
{