aboutsummaryrefslogtreecommitdiff
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
commit9888440ad603c44db4908229b7ce827ca7a16eb4 (patch)
treed8d6c295434e98bab421893524dfc1f85d423655 /libiberty/Makefile.in
parent52e8304c2f9789951924c332728b994ffa99456c (diff)
downloadgdb-9888440ad603c44db4908229b7ce827ca7a16eb4.zip
gdb-9888440ad603c44db4908229b7ce827ca7a16eb4.tar.gz
gdb-9888440ad603c44db4908229b7ce827ca7a16eb4.tar.bz2
* 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 ffa4ba5..3a6a59a 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