diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-07-27 22:07:53 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-07-27 22:07:53 +0000 |
commit | 4fbe7358c7747a9165f776eb19addbb9baf7def2 (patch) | |
tree | bc7076b4f6d10c2cc2942539bb666e50f0b66954 /libdde_linux26/contrib/include/linux/string.h | |
parent | 21adb5284111190057db245cfc2b54091920c373 (diff) |
rename libdde_linux26 into libdde-linux26 to make dpkg-source happy
Diffstat (limited to 'libdde_linux26/contrib/include/linux/string.h')
-rw-r--r-- | libdde_linux26/contrib/include/linux/string.h | 118 |
1 files changed, 0 insertions, 118 deletions
diff --git a/libdde_linux26/contrib/include/linux/string.h b/libdde_linux26/contrib/include/linux/string.h deleted file mode 100644 index d18fc198..00000000 --- a/libdde_linux26/contrib/include/linux/string.h +++ /dev/null @@ -1,118 +0,0 @@ -#ifndef _LINUX_STRING_H_ -#define _LINUX_STRING_H_ - -/* We don't want strings.h stuff being used by user stuff by accident */ - -#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 */ - -extern char *strndup_user(const char __user *, long); - -/* - * Include machine specific inline routines - */ -#include <asm/string.h> - -#ifndef __HAVE_ARCH_STRCPY -extern char * strcpy(char *,const char *); -#endif -#ifndef __HAVE_ARCH_STRNCPY -extern char * strncpy(char *,const char *, __kernel_size_t); -#endif -#ifndef __HAVE_ARCH_STRLCPY -size_t strlcpy(char *, const char *, size_t); -#endif -#ifndef __HAVE_ARCH_STRCAT -extern char * strcat(char *, const char *); -#endif -#ifndef __HAVE_ARCH_STRNCAT -extern char * strncat(char *, const char *, __kernel_size_t); -#endif -#ifndef __HAVE_ARCH_STRLCAT -extern size_t strlcat(char *, const char *, __kernel_size_t); -#endif -#ifndef __HAVE_ARCH_STRCMP -extern int strcmp(const char *,const char *); -#endif -#ifndef __HAVE_ARCH_STRNCMP -extern int strncmp(const char *,const char *,__kernel_size_t); -#endif -#ifndef __HAVE_ARCH_STRNICMP -extern int strnicmp(const char *, const char *, __kernel_size_t); -#endif -#ifndef __HAVE_ARCH_STRCASECMP -extern int strcasecmp(const char *s1, const char *s2); -#endif -#ifndef __HAVE_ARCH_STRNCASECMP -extern int strncasecmp(const char *s1, const char *s2, size_t n); -#endif -#ifndef __HAVE_ARCH_STRCHR -extern char * strchr(const char *,int); -#endif -#ifndef __HAVE_ARCH_STRNCHR -extern char * strnchr(const char *, size_t, int); -#endif -#ifndef __HAVE_ARCH_STRRCHR -extern char * strrchr(const char *,int); -#endif -extern char * strstrip(char *); -#ifndef __HAVE_ARCH_STRSTR -extern char * strstr(const char *,const char *); -#endif -#ifndef __HAVE_ARCH_STRLEN -extern __kernel_size_t strlen(const char *); -#endif -#ifndef __HAVE_ARCH_STRNLEN -extern __kernel_size_t strnlen(const char *,__kernel_size_t); -#endif -#ifndef __HAVE_ARCH_STRPBRK -extern char * strpbrk(const char *,const char *); -#endif -#ifndef __HAVE_ARCH_STRSEP -extern char * strsep(char **,const char *); -#endif -#ifndef __HAVE_ARCH_STRSPN -extern __kernel_size_t strspn(const char *,const char *); -#endif -#ifndef __HAVE_ARCH_STRCSPN -extern __kernel_size_t strcspn(const char *,const char *); -#endif - -#ifndef __HAVE_ARCH_MEMSET -extern void * memset(void *,int,__kernel_size_t); -#endif -#ifndef __HAVE_ARCH_MEMCPY -extern void * memcpy(void *,const void *,__kernel_size_t); -#endif -#ifndef __HAVE_ARCH_MEMMOVE -extern void * memmove(void *,const void *,__kernel_size_t); -#endif -#ifndef __HAVE_ARCH_MEMSCAN -extern void * memscan(void *,int,__kernel_size_t); -#endif -#ifndef __HAVE_ARCH_MEMCMP -extern int memcmp(const void *,const void *,__kernel_size_t); -#endif -#ifndef __HAVE_ARCH_MEMCHR -extern void * memchr(const void *,int,__kernel_size_t); -#endif - -extern char *kstrdup(const char *s, gfp_t gfp); -extern char *kstrndup(const char *s, size_t len, gfp_t gfp); -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); - -extern bool sysfs_streq(const char *s1, const char *s2); - -extern ssize_t memory_read_from_buffer(void *to, size_t count, loff_t *ppos, - const void *from, size_t available); - -#endif -#endif /* _LINUX_STRING_H_ */ |