Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/string.h')
-rw-r--r--newlib/libc/include/string.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/newlib/libc/include/string.h b/newlib/libc/include/string.h
index 9db1767d6..84cb4b15b 100644
--- a/newlib/libc/include/string.h
+++ b/newlib/libc/include/string.h
@@ -7,10 +7,6 @@
#ifndef _STRING_H_
#define _STRING_H_
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include "_ansi.h"
#include <sys/reent.h>
@@ -21,6 +17,8 @@ extern "C" {
#define NULL 0
#endif
+_BEGIN_STD_C
+
_PTR _EXFUN(memchr,(const _PTR, int, size_t));
int _EXFUN(memcmp,(const _PTR, const _PTR, size_t));
_PTR _EXFUN(memcpy,(_PTR, const _PTR, size_t));
@@ -94,7 +92,6 @@ char *_EXFUN(strsignal, (int __signo));
#endif /* ! __STRICT_ANSI__ */
-#ifdef __cplusplus
-}
-#endif
+_END_STD_C
+
#endif /* _STRING_H_ */