mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
This reverts commit 83af58f806.
It turns out that at least the assembly implementation for strncpy() was
buggy. Revert the whole commit and return back to the default coding.
Signed-off-by: Helge Deller <[email protected]>
Cc: <[email protected]> # v5.4+
Cc: Rasmus Villemoes <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
12 lines
247 B
C
12 lines
247 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _PA_STRING_H_
|
|
#define _PA_STRING_H_
|
|
|
|
#define __HAVE_ARCH_MEMSET
|
|
extern void * memset(void *, int, size_t);
|
|
|
|
#define __HAVE_ARCH_MEMCPY
|
|
void * memcpy(void * dest,const void *src,size_t count);
|
|
|
|
#endif
|