Merge branch 'topic/cleanup' into for-linus
[linux-2.6-block.git] / arch / blackfin / lib / strncmp.c
CommitLineData
d0025e5e
MF
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 */
1394f032
BW
8
9#define strncmp __inline_strncmp
10#include <asm/string.h>
d0025e5e 11#include <linux/module.h>
add8a505 12#undef strncmp
d0025e5e 13
1394f032
BW
14int strncmp(const char *cs, const char *ct, size_t count)
15{
1f83b8f1 16 return __inline_strncmp(cs, ct, count);
1394f032 17}
d0025e5e 18EXPORT_SYMBOL(strncmp);