summaryrefslogtreecommitdiffstats
path: root/include/linux/string.h
blob: 13e8da56e2cfad8dad01efd18e7a19319bb29fb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef _LINUX_STRING_H_
#define _LINUX_STRING_H_

#include <linux/types.h>	/* for size_t */

#ifndef NULL
#define NULL ((void *) 0)
#endif

#ifdef __cplusplus
extern "C" {
#endif

/*
 * Include machine specific inline routines
 */
#include <asm/string.h>

#ifdef __USE_PORTABLE_STRINGS_H_
/*
 * include/generic/string.h imports all the string functions,
 * for which no appropriate assembler replacements have been provided.
 */
#include <asm-generic/string.h>
#endif

#ifdef __cplusplus
}
#endif

#endif /* _LINUX_STRING_H_ */