diff options
Diffstat (limited to 'arch/blackfin/lib/strncpy.c')
-rw-r--r-- | arch/blackfin/lib/strncpy.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/blackfin/lib/strncpy.c b/arch/blackfin/lib/strncpy.c new file mode 100644 index 000000000000..77a9b2e95097 --- /dev/null +++ b/arch/blackfin/lib/strncpy.c | |||
@@ -0,0 +1,11 @@ | |||
1 | #include <linux/types.h> | ||
2 | |||
3 | #define strncpy __inline_strncpy | ||
4 | #include <asm/string.h> | ||
5 | #undef strncpy | ||
6 | |||
7 | char *strncpy(char *dest, const char *src, size_t n) | ||
8 | { | ||
9 | return __inline_strncpy(dest, src, n); | ||
10 | } | ||
11 | |||