summaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-11 05:19:48 +0000
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-11 05:19:48 +0000
commitfbe83ac1d7bf84086a255cd5e819c4f37832798a (patch)
treed8ef0b0e8eb2d22964777c8e182499998800097e /libcpp
parentacbc760afd49666c25ef62103735f2a0182f3abe (diff)
downloadgcc-fbe83ac1d7bf84086a255cd5e819c4f37832798a.tar.gz
* makedepend.c: Include mkdeps.h for prototype of deps_add_vpath.
* Makefile.in (makedepend.o): Add dependency on mkdeps.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88870 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog5
-rw-r--r--libcpp/Makefile.in2
-rw-r--r--libcpp/makedepend.c1
3 files changed, 7 insertions, 1 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 0024ef9499b..34daa7c99b7 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-10 Andreas Jaeger <aj@suse.de>
+
+ * makedepend.c: Include mkdeps.h for prototype of deps_add_vpath.
+ * Makefile.in (makedepend.o): Add dependency on mkdeps.h.
+
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
* pch.c (cpp_write_pch_state): Remove variable z as it is not
diff --git a/libcpp/Makefile.in b/libcpp/Makefile.in
index 9c89a25c152..bd1861c9b4a 100644
--- a/libcpp/Makefile.in
+++ b/libcpp/Makefile.in
@@ -246,7 +246,7 @@ init.o: $(srcdir)/init.c $(COMMON_DEPS) $(libcpp_incdir)/mkdeps.h localedir.h
lex.o: $(srcdir)/lex.c $(COMMON_DEPS)
line-map.o: $(srcdir)/line-map.c $(COMMON_DEPS)
macro.o: $(srcdir)/macro.c $(COMMON_DEPS)
-makedepend.o: $(srcdir)/makedepend.c $(COMMON_DEPS)
+makedepend.o: $(srcdir)/makedepend.c $(COMMON_DEPS) $(libcpp_incdir)/mkdeps.h
mkdeps.o: $(srcdir)/mkdeps.c $(COMMON_DEPS)
pch.o: $(srcdir)/pch.c $(COMMON_DEPS) \
diff --git a/libcpp/makedepend.c b/libcpp/makedepend.c
index df4a2939c14..428ec297cc6 100644
--- a/libcpp/makedepend.c
+++ b/libcpp/makedepend.c
@@ -25,6 +25,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "line-map.h"
#include "cpplib.h"
#include "getopt.h"
+#include "mkdeps.h"
const char *progname;
const char *vpath;