2 * Provide symbol in case str func is not inlined.
4 * Copyright (c) 2006-2007 Analog Devices Inc.
6 * Licensed under the GPL-2 or later.
9 #define strncpy __inline_strncpy
10 #include <asm/string.h>
13 #include <linux/module.h>
15 char *strncpy(char *dest, const char *src, size_t n)
17 return __inline_strncpy(dest, src, n);
19 EXPORT_SYMBOL(strncpy);