diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-06-27 23:58:38 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-06-27 23:58:38 +0000 |
commit | c1a3171f2dae463528fda965bac53e1adb34c688 (patch) | |
tree | cad852e99d8ad350a33afd8078b985a7cbbb90ab /newlib/libc/include/string.h | |
parent | 533b4e664428a0ddd218eb62f0dc78f0a87ff079 (diff) | |
download | cygnal-c1a3171f2dae463528fda965bac53e1adb34c688.tar.gz cygnal-c1a3171f2dae463528fda965bac53e1adb34c688.tar.bz2 cygnal-c1a3171f2dae463528fda965bac53e1adb34c688.zip |
2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
* libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
* libc/include/time.h: Same.
* libc/include/string.h: Same.
* libc/include/stdlib.h: Same.
* libc/include/signal.h: Same.
* libc/include/setjmp.h: Same.
* libc/include/math.h: Same.
* libc/include/locale.h: Same.
* libc/include/ctype.h: Same.
* libc/include/machine/setjmp.h: Same.
* libc/include/_ansi.h (_BEGIN_STD_C): Add.
(_END_STD_C): Add.
Diffstat (limited to 'newlib/libc/include/string.h')
-rw-r--r-- | newlib/libc/include/string.h | 11 |
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_ */ |