diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-12-09 10:38:18 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2010-12-09 10:38:18 -0500 |
commit | 42acbb92c861e97a6e1293ea853db88342a1bf53 (patch) | |
tree | 88e096f0d2144fd9f2e9d6ba8cc093bcd56084ec /string | |
parent | a5b913e299027a799ae5435d66e3f20e95859654 (diff) | |
download | glibc-42acbb92c861e97a6e1293ea853db88342a1bf53.tar glibc-42acbb92c861e97a6e1293ea853db88342a1bf53.tar.gz glibc-42acbb92c861e97a6e1293ea853db88342a1bf53.tar.bz2 glibc-42acbb92c861e97a6e1293ea853db88342a1bf53.zip |
Fix -D_FORTIFY_SOURCE memmove and bcop
Diffstat (limited to 'string')
-rw-r--r-- | string/bits/string3.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/string/bits/string3.h b/string/bits/string3.h index 1d759f181b..164772572b 100644 --- a/string/bits/string3.h +++ b/string/bits/string3.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. +/* Copyright (C) 2004, 2005, 2007, 2009, 2010 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -53,8 +53,7 @@ __NTH (memcpy (void *__restrict __dest, __const void *__restrict __src, } __extern_always_inline void * -__NTH (memmove (void *__restrict __dest, __const void *__restrict __src, - size_t __len)) +__NTH (memmove (void *__dest, __const void *__src, size_t __len)) { return __builtin___memmove_chk (__dest, __src, __len, __bos0 (__dest)); } @@ -88,8 +87,7 @@ __NTH (memset (void *__dest, int __ch, size_t __len)) #ifdef __USE_BSD __extern_always_inline void -__NTH (bcopy (__const void *__restrict __src, void *__restrict __dest, - size_t __len)) +__NTH (bcopy (__const void *__src, void *__dest, size_t __len)) { (void) __builtin___memmove_chk (__dest, __src, __len, __bos0 (__dest)); } |