summaryrefslogtreecommitdiff
path: root/libiberty/Makefile.in
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2004-12-08 00:30:35 +0000
committerBen Elliston <bje@au.ibm.com>2004-12-08 00:30:35 +0000
commit794eadb4bf3808ba0849e88f68877cf5b5334436 (patch)
treeb7ab59e5b2e6818f0f6afe5970f32cbe9d12a5fc /libiberty/Makefile.in
parent9e5df3c7b9d7ad9f71b5be483b5932dce41f21eb (diff)
downloadgdb-794eadb4bf3808ba0849e88f68877cf5b5334436.tar.gz
* getopt.c: Include "ansidecl.h" for the ATTRIBUTE_UNUSED macro.
(_getopt_initialize): Annotate argc and argv parameters as unused. * Makefile.in (getopt.o): Depend on $(INCDIR)/ansidecl.h.
Diffstat (limited to 'libiberty/Makefile.in')
-rw-r--r--libiberty/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
index ffa4ba51d67..3a6a59a48eb 100644
--- a/libiberty/Makefile.in
+++ b/libiberty/Makefile.in
@@ -581,7 +581,8 @@ $(CONFIGURED_OFILES): stamp-picdir
else true; fi
$(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
-./getopt.o: $(srcdir)/getopt.c config.h $(INCDIR)/getopt.h
+./getopt.o: $(srcdir)/getopt.c config.h $(INCDIR)/getopt.h \
+ $(INCDIR)/ansidecl.h
if [ x"$(PICFLAG)" != x ]; then \
$(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
else true; fi