diff options
Diffstat (limited to 'lib/libc/string/strncpy.c')
-rw-r--r-- | lib/libc/string/strncpy.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/string/strncpy.c b/lib/libc/string/strncpy.c index 6a00e1ba5135..67240a855196 100644 --- a/lib/libc/string/strncpy.c +++ b/lib/libc/string/strncpy.c @@ -32,12 +32,10 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)strncpy.c 8.1 (Berkeley) 6/4/93"; -#endif /* LIBC_SCCS and not lint */ -#include <sys/cdefs.h> #include <string.h> +#undef strncpy /* FORTIFY_SOURCE */ + /* * Copy src to dst, truncating or null-padding to always copy n bytes. * Return dst. |