From df85f50b82efc96e348c3d88e67b7bcdb263921f Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 5 Aug 2014 17:07:46 -0700 Subject: [PATCH] Add an obvious comment to for fixincludes. We don't want GCC's fixincludes to touch our because we want to support multiple platform versions with one toolchain. Give them a nice easy unambiguous string to look for. Bug: http://code.google.com/p/android/issues/detail?id=73728 Change-Id: I15cb9a2c9eb0a44b0965dc2139f224f2b6e68ea1 --- libc/include/stdio.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libc/include/stdio.h b/libc/include/stdio.h index 9c6bd3f94..74e573294 100644 --- a/libc/include/stdio.h +++ b/libc/include/stdio.h @@ -38,6 +38,14 @@ #ifndef _STDIO_H_ #define _STDIO_H_ +/* + * This file must contain a reference to __gnuc_va_list so that GCC's + * fixincludes knows that that's what's being used for va_list, and so + * to leave our alone. (fixincludes gets in the way of pointing + * one toolchain at various different sets of platform headers.) + * If you alter this comment, be sure to keep "__gnuc_va_list" in it! + */ + #include #include