summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/include/locale.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/include/locale.h')
-rw-r--r--winsup/mingw/include/locale.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/mingw/include/locale.h b/winsup/mingw/include/locale.h
index 41746c6a3..ee26db326 100644
--- a/winsup/mingw/include/locale.h
+++ b/winsup/mingw/include/locale.h
@@ -68,13 +68,13 @@ struct lconv
extern "C" {
#endif
-_CRTIMP char* __cdecl setlocale (int, const char*);
-_CRTIMP struct lconv* __cdecl localeconv (void);
+_CRTIMP char* __cdecl __MINGW_NOTHROW setlocale (int, const char*);
+_CRTIMP struct lconv* __cdecl __MINGW_NOTHROW localeconv (void);
#ifndef _WLOCALE_DEFINED /* also declared in wchar.h */
# define __need_wchar_t
# include <stddef.h>
- _CRTIMP wchar_t* __cdecl _wsetlocale(int, const wchar_t*);
+ _CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wsetlocale(int, const wchar_t*);
# define _WLOCALE_DEFINED
#endif /* ndef _WLOCALE_DEFINED */