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:
authorJeff Johnston <jjohnstn@redhat.com>2002-06-28 03:58:38 +0400
committerJeff Johnston <jjohnstn@redhat.com>2002-06-28 03:58:38 +0400
commitc1a3171f2dae463528fda965bac53e1adb34c688 (patch)
treecad852e99d8ad350a33afd8078b985a7cbbb90ab /newlib/libc/include/locale.h
parent533b4e664428a0ddd218eb62f0dc78f0a87ff079 (diff)
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/locale.h')
-rw-r--r--newlib/libc/include/locale.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/newlib/libc/include/locale.h b/newlib/libc/include/locale.h
index 4718248d8..ebe1422fe 100644
--- a/newlib/libc/include/locale.h
+++ b/newlib/libc/include/locale.h
@@ -5,9 +5,6 @@
*/
#ifndef _LOCALE_H_
-#ifdef __cplusplus
-extern "C" {
-#endif
#define _LOCALE_H_
#include "_ansi.h"
@@ -24,6 +21,8 @@ extern "C" {
#define LC_TIME 5
#define LC_MESSAGES 6
+_BEGIN_STD_C
+
struct lconv
{
char *decimal_point;
@@ -55,7 +54,6 @@ struct _reent;
char *_EXFUN(_setlocale_r,(struct _reent *, int category, const char *locale));
struct lconv *_EXFUN(_localeconv_r,(struct _reent *));
-#ifdef __cplusplus
-}
-#endif
+_END_STD_C
+
#endif /* _LOCALE_H_ */