Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 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 |