summaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authordrepper <drepper@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-29 18:59:40 +0000
committerdrepper <drepper@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-29 18:59:40 +0000
commit85fc7e91fb9a9fc201a8ae16712cc1b57c4d9d6f (patch)
treee93db4a12bbae12f8654d3ebe3b73a3c32c6088a /gcc/c-common.c
parentbb831b93252a77cc693040551e6aa15ea4788bc5 (diff)
downloadgcc-85fc7e91fb9a9fc201a8ae16712cc1b57c4d9d6f.tar.gz
Adjust variable names, comments, help strings to c99.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31689 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 3d0812085f5..1cfb7657a51 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -271,7 +271,7 @@ declare_function_name ()
declare_hidden_char_array ("__FUNCTION__", name);
declare_hidden_char_array ("__PRETTY_FUNCTION__", printable_name);
/* The ISO C people "of course" couldn't use __FUNCTION__ in the
- ISO C 9x standard; instead a new variable is invented. */
+ ISO C 99 standard; instead a new variable is invented. */
declare_hidden_char_array ("__func__", name);
}
@@ -1775,7 +1775,7 @@ check_format_info (info, params)
else if (*format_chars == 'Z' || *format_chars == 'z')
{
length_char = *format_chars++;
- if (pedantic && (length_char == 'Z' || !flag_isoc9x))
+ if (pedantic && (length_char == 'Z' || !flag_isoc99))
warning ("ANSI C does not support the `%c' length modifier",
length_char);
}
@@ -1784,13 +1784,13 @@ check_format_info (info, params)
if (length_char == 'l' && *format_chars == 'l')
{
length_char = 'q', format_chars++;
- if (pedantic && !flag_isoc9x)
+ if (pedantic && !flag_isoc99)
warning ("ANSI C does not support the `ll' length modifier");
}
else if (length_char == 'h' && *format_chars == 'h')
{
length_char = 'H', format_chars++;
- if (pedantic && !flag_isoc9x)
+ if (pedantic && !flag_isoc99)
warning ("ANSI C does not support the `hh' length modifier");
}
if (*format_chars == 'a' && info->format_type == scanf_format_type)
@@ -1820,7 +1820,7 @@ check_format_info (info, params)
/* The a and A formats are C99 extensions. */
if (pedantic && info->format_type != strftime_format_type
&& (format_char == 'a' || format_char == 'A')
- && !flag_isoc9x)
+ && !flag_isoc99)
warning ("ANSI C does not support the `%c' format", format_char);
format_chars++;
switch (info->format_type)