summaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-13 02:16:07 -0800
committerYamaArashi <shadow962@live.com>2016-02-13 02:16:07 -0800
commit87926b4bcc3046ac85fabda09178e9bf50dd8381 (patch)
tree5b5ed9076e0200c36f979e0f8baaa23f4406cfd8 /gcc/c-lex.c
parent56d3f75d136e839223544f0495cceb098afa1d55 (diff)
remove use of strings.h
Diffstat (limited to 'gcc/c-lex.c')
-rwxr-xr-xgcc/c-lex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index a8b5d22..834f946 100755
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -1432,7 +1432,7 @@ yylex ()
and not the suffixes; once we add `f' or `i',
REAL_VALUE_ATOF may not work any more. */
char *copy = (char *) alloca (p - token_buffer + 1);
- bcopy (token_buffer, copy, p - token_buffer + 1);
+ copy_memory (token_buffer, copy, p - token_buffer + 1);
set_float_handler (handler);
@@ -2014,7 +2014,7 @@ yylex ()
{
if (p + WCHAR_BYTES > token_buffer + maxtoken)
p = extend_token_buffer (p);
- bzero (p, WCHAR_BYTES);
+ zero_memory (p, WCHAR_BYTES);
p += WCHAR_BYTES;
}
else