summaryrefslogtreecommitdiff
path: root/string/stpcpy.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-07 22:24:35 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-07 22:24:35 +0000
commit2e09a79ada1f6d92809a037d41895e3d9302ad59 (patch)
tree999c9d18279a7de289937116273ae4016356aa3a /string/stpcpy.c
parent8e254d8e0d0820716e0ccf5f2b89c4fd1325f051 (diff)
downloadglibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.tar.gz
Avoid use of "register" as optimization hint.
Diffstat (limited to 'string/stpcpy.c')
-rw-r--r--string/stpcpy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string/stpcpy.c b/string/stpcpy.c
index 93e251081d..8ece3d9a78 100644
--- a/string/stpcpy.c
+++ b/string/stpcpy.c
@@ -34,8 +34,8 @@ __stpcpy (dest, src)
char *dest;
const char *src;
{
- register char *d = dest;
- register const char *s = src;
+ char *d = dest;
+ const char *s = src;
do
*d++ = *s;