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 | { | ||||
Mike Frysinger | 1f83b8f | 2007-07-12 22:58:21 +0800 | [diff] [blame] | 9 | return __inline_strncpy(dest, src, n); |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 10 | } |