gru: update driver version number
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / blackfin / lib / strncpy.c
blobea1dc6bf2373c7a6a3485706ef11c47f07a2fcc5
1 /*
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.
7 */
9 #define strncpy __inline_strncpy
10 #include <asm/string.h>
11 #undef strncpy
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);