[BACK]Return to strncmp.c CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / arch / blackfin / lib

File: [Development] / linux-2.6-xfs / arch / blackfin / lib / strncmp.c (download)

Revision 1.3, Mon Jan 7 15:11:45 2008 UTC (9 years, 9 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +10 -1 lines

Merge up to 2.6.24-rc6
Merge of 2.6.x-xfs-melb:linux:30301a by kenmcd.

/*
 * Provide symbol in case str func is not inlined.
 *
 * Copyright (c) 2006-2007 Analog Devices Inc.
 *
 * Licensed under the GPL-2 or later.
 */

#define strncmp __inline_strncmp
#include <asm/string.h>
#undef strncmp

#include <linux/module.h>

int strncmp(const char *cs, const char *ct, size_t count)
{
	return __inline_strncmp(cs, ct, count);
}
EXPORT_SYMBOL(strncmp);