diff options
| author | Linus Torvalds <torvalds@home.osdl.org> | 2003-10-21 19:32:47 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-10-21 19:32:47 -0700 |
| commit | a5af9cec48c4dfeed8244148cf3ac89c3f053bf2 (patch) | |
| tree | a69af354efa48b0492275afc49a1c173c499a4a0 /lib/string.c | |
| parent | 16ca3698609cbcaa27863087200e44573dab8e32 (diff) | |
bcopy() doesn't return anything.
Diffstat (limited to 'lib/string.c')
| -rw-r--r-- | lib/string.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/string.c b/lib/string.c index 5c2ad6a174f4..3ba8cabedf84 100644 --- a/lib/string.c +++ b/lib/string.c @@ -437,14 +437,12 @@ void * memset(void * s,int c,size_t count) * You should not use this function to access IO space, use memcpy_toio() * or memcpy_fromio() instead. */ -char * bcopy(const char * src, char * dest, int count) +void bcopy(const char * src, char * dest, int count) { char *tmp = dest; while (count--) *tmp++ = *src++; - - return dest; } #endif |
