From 7731405b8d365cbb97512a9e4010f2ec20e289a2 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 11 Oct 2004 07:19:48 +0200 Subject: [PATCH] makedepend.c: Include mkdeps.h for prototype of deps_add_vpath. * makedepend.c: Include mkdeps.h for prototype of deps_add_vpath. * Makefile.in (makedepend.o): Add dependency on mkdeps.h. From-SVN: r88870 --- libcpp/ChangeLog | 5 +++++ libcpp/Makefile.in | 2 +- libcpp/makedepend.c | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) 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 + + * 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 * 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; -- 2.30.2