summaryrefslogtreecommitdiffstats
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1994-11-28 11:59:19 +0000
committer <ralf@linux-mips.org>1994-11-28 11:59:19 +0000
commit1513ff9b7899ab588401c89db0e99903dbf5f886 (patch)
treef69cc81a940a502ea23d664c3ffb2d215a479667 /include/linux/string.h
Import of Linus's Linux 1.1.68
Diffstat (limited to 'include/linux/string.h')
-rw-r--r--include/linux/string.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/linux/string.h b/include/linux/string.h
new file mode 100644
index 000000000..13e8da56e
--- /dev/null
+++ b/include/linux/string.h
@@ -0,0 +1,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_ */