summaryrefslogtreecommitdiff
path: root/arch/blackfin/lib/strncpy.c
blob: 77a9b2e950977bcb7d5fe213015dceef1308eb05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include <linux/types.h>

#define strncpy __inline_strncpy
#include <asm/string.h>
#undef strncpy

char *strncpy(char *dest, const char *src, size_t n)
{
	        return __inline_strncpy(dest, src, n);
}