diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-08-16 12:59:05 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-08-16 18:04:54 +0700 |
commit | 10d1cb9f3e515778e7841b61df4c6ad94c3d8352 (patch) | |
tree | c7b3f40f6e6ab7ea752886d9a1a2c441816fb5dc /system/include/compat/string.h | |
parent | 4e0c5a89b387d5f4ca8248c8b31e2db136652a64 (diff) |
Add compat headers, move some things to them.
This is groundwork for landing musl includes which remove
some of the deprecated functions or very old BSDisms.
Diffstat (limited to 'system/include/compat/string.h')
-rw-r--r-- | system/include/compat/string.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/system/include/compat/string.h b/system/include/compat/string.h new file mode 100644 index 00000000..880089cc --- /dev/null +++ b/system/include/compat/string.h @@ -0,0 +1,17 @@ +#ifndef _COMPAT_STRING_H +#define _COMPAT_STRING_H + +#ifdef __cplusplus +extern "C" { +#endif + +extern char* strlwr(char *); +extern char* strupr(char *); + +#ifdef __cplusplus +} +#endif + +#include_next <string.h> + +#endif |