blob: 2a8836b1f4d37abf3700693d39f8cccbf93c2fe7 [file] [log] [blame]
Mike Frysingerd0025e52007-11-21 15:34:51 +08001/*
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 */
Bryan Wu1394f032007-05-06 14:50:22 -07008
9#define strcpy __inline_strcpy
10#include <asm/string.h>
11#undef strcpy
12
Mike Frysingerd0025e52007-11-21 15:34:51 +080013#include <linux/module.h>
14
Bryan Wu1394f032007-05-06 14:50:22 -070015char *strcpy(char *dest, const char *src)
16{
Mike Frysinger1f83b8f2007-07-12 22:58:21 +080017 return __inline_strcpy(dest, src);
Bryan Wu1394f032007-05-06 14:50:22 -070018}
Mike Frysingerd0025e52007-11-21 15:34:51 +080019EXPORT_SYMBOL(strcpy);