Commit a9ca6444 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] namespace pollution in sunrpc

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  The strdup function in sunrpc should not be global
parent 63ac4304
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
*/ */
char *strdup(char *s) static char *strdup(char *s)
{ {
char *rv = kmalloc(strlen(s)+1, GFP_KERNEL); char *rv = kmalloc(strlen(s)+1, GFP_KERNEL);
if (rv) if (rv)
......
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