aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-08-15 08:45:49 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-08-15 08:45:49 +0000
commit26e1070b8ba09cc52718079355fccbaf9a89de3f (patch)
tree295e51acc022eebb75d516fb4cc5654b7cdc5948 /contrib
parent43290b636374e4a2cf355a4b9e9d13cb39546477 (diff)
downloadsrc-26e1070b8ba09cc52718079355fccbaf9a89de3f.tar.gz
src-26e1070b8ba09cc52718079355fccbaf9a89de3f.zip
Merge gcc.295/cccp.c,v 1.9: don't let gcc(1) hide warnings in system headers.
Reviewed by: bde Original 2.95 change was subject to: Approved by: obrien
Notes
Notes: svn path=/head/; revision=101910
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gcc/c-lex.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/gcc/c-lex.c b/contrib/gcc/c-lex.c
index 9eb308c3c2f0..589270f096b7 100644
--- a/contrib/gcc/c-lex.c
+++ b/contrib/gcc/c-lex.c
@@ -19,6 +19,8 @@ along with GCC; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
+/* $FreeBSD$ */
+
#include "config.h"
#include "system.h"
@@ -315,7 +317,11 @@ cb_file_change (pfile, new_map)
}
update_header_times (new_map->to_file);
+#ifndef FREEBSD_NATIVE
in_system_header = new_map->sysp != 0;
+#else /* FREEBSD_NATIVE */
+ in_system_header = 0;
+#endif /* FREEBSD_NATIVE */
input_filename = new_map->to_file;
lineno = to_line;
map = new_map;