aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.osdl.org>2003-10-21 19:32:47 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-10-21 19:32:47 -0700
commita5af9cec48c4dfeed8244148cf3ac89c3f053bf2 (patch)
treea69af354efa48b0492275afc49a1c173c499a4a0 /lib
parent16ca3698609cbcaa27863087200e44573dab8e32 (diff)
downloadhistory-a5af9cec48c4dfeed8244148cf3ac89c3f053bf2.tar.gz
bcopy() doesn't return anything.
Diffstat (limited to 'lib')
-rw-r--r--lib/string.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/string.c b/lib/string.c
index 5c2ad6a174f44b..3ba8cabedf84f4 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