X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Flocale.h;h=14996bbb98be6709561d9578cec53d34845d6966;hb=6c66631ea1ddc3110848294ea929d7761d6c9ec2;hp=82fc21ba44da0c7438fa6ed653f4ff5ff1298f13;hpb=f730654332382c4051e7b839acfd30678dd94a60;p=pdclib.old diff --git a/includes/locale.h b/includes/locale.h index 82fc21b..14996bb 100644 --- a/includes/locale.h +++ b/includes/locale.h @@ -8,11 +8,8 @@ #ifndef _PDCLIB_LOCALE_H #define _PDCLIB_LOCALE_H _PDCLIB_LOCALE_H - -#ifndef _PDCLIB_INT_H -#define _PDCLIB_INT_H _PDCLIB_INT_H #include <_PDCLIB_int.h> -#endif +_PDCLIB_BEGIN_EXTERN_C #ifndef _PDCLIB_NULL_DEFINED #define _PDCLIB_NULL_DEFINED _PDCLIB_NULL_DEFINED @@ -93,12 +90,13 @@ extern struct lconv _PDCLIB_lconv; Otherwise, returns a pointer to a string associated with the specified category for the new locale. */ -char * setlocale( int category, const char * locale ); +char * setlocale( int category, const char * locale ) _PDCLIB_nothrow; /* Returns a struct lconv initialized to the values appropriate for the current locale setting. */ -struct lconv * localeconv( void ); +struct lconv * localeconv( void ) _PDCLIB_nothrow; +_PDCLIB_END_EXTERN_C #endif