jffs2: update ctime when changing the file's permission by setfacl
[pandora-kernel.git] / arch / blackfin / lib / strncpy.c
1 /*
2  * Provide symbol in case str func is not inlined.
3  *
4  * Copyright (c) 2006-2007 Analog Devices Inc.
5  *
6  * Licensed under the GPL-2 or later.
7  */
8
9 #define strncpy __inline_strncpy
10 #include <asm/string.h>
11 #undef strncpy
12
13 #include <linux/module.h>
14
15 char *strncpy(char *dest, const char *src, size_t n)
16 {
17         return __inline_strncpy(dest, src, n);
18 }
19 EXPORT_SYMBOL(strncpy);