summaryrefslogtreecommitdiff
path: root/make.h
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 /make.h
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 'make.h')
-rw-r--r--make.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/make.h b/make.h
index fcd0e75..01eeb7a 100644
--- a/make.h
+++ b/make.h
@@ -210,6 +210,7 @@ extern unsigned int get_path_max PARAMS ((void));
# define __printf__ printf
# endif
#endif
+#define UNUSED __attribute__ ((unused))
#if defined (STDC_HEADERS) || defined (__GNU_LIBRARY__)
# include <stdlib.h>
@@ -468,7 +469,7 @@ extern void install_default_implicit_rules PARAMS ((void));
extern void build_vpath_lists PARAMS ((void));
extern void construct_vpath_list PARAMS ((char *pattern, char *dirpath));
extern int vpath_search PARAMS ((char **file, FILE_TIMESTAMP *mtime_ptr));
-extern int gpath_search PARAMS ((char *file, int len));
+extern int gpath_search PARAMS ((char *file, unsigned int len));
extern void construct_include_path PARAMS ((char **arg_dirs));