|
@@ -60,7 +60,7 @@ extern void weak_function _stdio_init(void) attribute_hidden;
|
|
|
extern int *weak_const_function __errno_location(void);
|
|
|
extern int *weak_const_function __h_errno_location(void);
|
|
|
#ifdef __UCLIBC_HAS_LOCALE__
|
|
|
-extern void weak_function _locale_init(void);
|
|
|
+extern void weak_function _locale_init(void) attribute_hidden;
|
|
|
#endif
|
|
|
#ifdef __UCLIBC_HAS_THREADS__
|
|
|
extern void weak_function __pthread_initialize_minimal(void);
|
|
@@ -281,5 +281,5 @@ __uClibc_main(int (*main)(int, char **, char **), int argc,
|
|
|
/*
|
|
|
* Finally, invoke application's main and then exit.
|
|
|
*/
|
|
|
- exit(main(argc, argv, __environ));
|
|
|
+ __exit(main(argc, argv, __environ));
|
|
|
}
|