From c01b03e85dc59ea23c7c6557ca5813da25711c8e Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sat, 15 Aug 1992 07:46:46 +0000 Subject: [PATCH] Don't ever include stddef.h. (append_include_chain): Avoid using size_t. (initialize_builtins): Output defn of __WCHAR_TYPE__ just once. From-SVN: r1855 --- gcc/cccp.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/gcc/cccp.c b/gcc/cccp.c index a6b1250065c..a611f78757f 100644 --- a/gcc/cccp.c +++ b/gcc/cccp.c @@ -73,9 +73,6 @@ typedef unsigned char U_CHAR; #include #include #include -#ifdef __STDC__ -#include -#endif #ifndef VMS #ifndef USG @@ -8140,10 +8137,6 @@ initialize_builtins (inp, outp) output_line_command (inp, outp, 0, same_file); pass_thru_directive (directive, &directive[strlen (directive)], outp, dp); - sprintf (directive, " __WCHAR_TYPE__ %s\n", WCHAR_TYPE); - output_line_command (inp, outp, 0, same_file); - pass_thru_directive (directive, &directive[strlen (directive)], outp, dp); - sprintf (directive, " __DATE__ \"%s %2d %4d\"\n", monthnames[timebuf->tm_mon], timebuf->tm_mday, timebuf->tm_year + 1900); @@ -8355,7 +8348,7 @@ append_include_chain (first, last) first_bracket_include = first; for (dir = first; ; dir = dir->next) { - size_t len = strlen (dir->fname) + INCLUDE_LEN_FUDGE; + int len = strlen (dir->fname) + INCLUDE_LEN_FUDGE; if (len > max_include_len) max_include_len = len; if (dir == last) -- 2.30.2