From: Neil Booth Date: Fri, 16 Feb 2001 07:41:08 +0000 (+0000) Subject: cppfiles.c (_cpp_make_system_header): Generate a file change callback. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e4a345f8322b12b093980226dbb330f7c0bf7464;p=gcc.git cppfiles.c (_cpp_make_system_header): Generate a file change callback. * cppfiles.c (_cpp_make_system_header): Generate a file change callback. From-SVN: r39749 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bad634c6b02..9b72fc72f8a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-02-16 Neil Booth + + * cppfiles.c (_cpp_make_system_header): Generate a file + change callback. + 2001-02-15 Jim Meyering * Makefile.in (install-common): Don't depend on installdirs here. diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c index 01b8d5fb6ae..1c414451526 100644 --- a/gcc/cppfiles.c +++ b/gcc/cppfiles.c @@ -530,6 +530,8 @@ cpp_make_system_header (pfile, syshdr, externc) if (syshdr) flags = 1 + (externc != 0); pfile->buffer->sysp = flags; + _cpp_do_file_change (pfile, FC_RENAME, pfile->buffer->nominal_fname, + pfile->buffer->lineno); } /* Report on all files that might benefit from a multiple include guard.