Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72940
b: refs/heads/master
c: 97ef1bb
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Oct 31, 2007
1 parent c60dc28 commit a501518
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f3baa4827a4b13905dbbdddf15463541bd671dfd
refs/heads/master: 97ef1bb0c8e371b7988287f38bd107c4aa14d78d
1 change: 1 addition & 0 deletions trunk/include/linux/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ unifdef-y += sonypi.h
unifdef-y += soundcard.h
unifdef-y += stat.h
unifdef-y += stddef.h
unifdef-y += string.h
unifdef-y += synclink.h
unifdef-y += sysctl.h
unifdef-y += tcp.h
Expand Down
12 changes: 3 additions & 9 deletions trunk/include/linux/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@

/* We don't want strings.h stuff being user by user stuff by accident */

#ifdef __KERNEL__
#ifndef __KERNEL__
#include <string.h>
#else

#include <linux/compiler.h> /* for inline */
#include <linux/types.h> /* for size_t */
#include <linux/stddef.h> /* for NULL */

#ifdef __cplusplus
extern "C" {
#endif

extern char *strndup_user(const char __user *, long);

/*
Expand Down Expand Up @@ -111,9 +109,5 @@ extern void *kmemdup(const void *src, size_t len, gfp_t gfp);
extern char **argv_split(gfp_t gfp, const char *str, int *argcp);
extern void argv_free(char **argv);

#ifdef __cplusplus
}
#endif

#endif
#endif /* _LINUX_STRING_H_ */

0 comments on commit a501518

Please sign in to comment.