git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
include
/
asm-cris
/
arch-v10
/
uaccess.h
diff --git
a/include/asm-cris/arch-v10/uaccess.h
b/include/asm-cris/arch-v10/uaccess.h
index
787d2e6
..
65b02d9
100644
(file)
--- a/
include/asm-cris/arch-v10/uaccess.h
+++ b/
include/asm-cris/arch-v10/uaccess.h
@@
-87,7
+87,7
@@
* bytes copied if we hit a null byte
* (without the null byte)
*/
* bytes copied if we hit a null byte
* (without the null byte)
*/
-extern inline long
+static inline long
__do_strncpy_from_user(char *dst, const char *src, long count)
{
long res;
__do_strncpy_from_user(char *dst, const char *src, long count)
{
long res;
@@
-602,7
+602,7
@@
__do_strncpy_from_user(char *dst, const char *src, long count)
* or 0 for error. Return a value greater than N if too long.
*/
* or 0 for error. Return a value greater than N if too long.
*/
-
extern
inline long
+
static
inline long
strnlen_user(const char *s, long n)
{
long res, tmp1;
strnlen_user(const char *s, long n)
{
long res, tmp1;