Commit a5af9cec authored by Linus Torvalds's avatar Linus Torvalds

bcopy() doesn't return anything.

parent 16ca3698
...@@ -437,14 +437,12 @@ void * memset(void * s,int c,size_t count) ...@@ -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() * You should not use this function to access IO space, use memcpy_toio()
* or memcpy_fromio() instead. * 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; char *tmp = dest;
while (count--) while (count--)
*tmp++ = *src++; *tmp++ = *src++;
return dest;
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment