Initial commit
[wrt350n-kernel.git] / arch / blackfin / lib / strncmp.c
blob2aaae78a68e0ae3ef345442b2467d30dd50c82ab
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 strncmp __inline_strncmp
10 #include <asm/string.h>
11 #undef strncmp
13 #include <linux/module.h>
15 int strncmp(const char *cs, const char *ct, size_t count)
17 return __inline_strncmp(cs, ct, count);
19 EXPORT_SYMBOL(strncmp);