]> git.neil.brown.name Git - history.git/commitdiff
bcopy() doesn't return anything.
authorLinus Torvalds <torvalds@home.osdl.org>
Wed, 22 Oct 2003 02:32:47 +0000 (19:32 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 22 Oct 2003 02:32:47 +0000 (19:32 -0700)
lib/string.c

index 5c2ad6a174f44b7546228c46d206e382957f04e2..3ba8cabedf84f4f8f88a828145e9571bd4ae2d2c 100644 (file)
@@ -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