|
|
| File: [Development] / linux-2.6-xfs / arch / blackfin / lib / strncpy.c (download)
Revision 1.3, Mon Jan 7 15:11:45 2008 UTC (9 years, 9 months ago) by lachlan.longdrop.melbourne.sgi.com
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 strncpy __inline_strncpy
#include <asm/string.h>
#undef strncpy
#include <linux/module.h>
char *strncpy(char *dest, const char *src, size_t n)
{
return __inline_strncpy(dest, src, n);
}
EXPORT_SYMBOL(strncpy);