summaryrefslogtreecommitdiff
path: root/libc/misc/internals/__uClibc_main.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-16 01:02:50 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-16 01:02:50 +0000
commita1915d4502e23cc0c30e1c80a31971e71e7340a5 (patch)
tree8502cb726a6ab5f8f041ab9ea6ea7dcca7b4c36b /libc/misc/internals/__uClibc_main.c
parentb865ce517bd48ce9f11dac018d350ed69a533e2b (diff)
Convert users
Diffstat (limited to 'libc/misc/internals/__uClibc_main.c')
-rw-r--r--libc/misc/internals/__uClibc_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c
index bbb770af5..6cd2eaa01 100644
--- a/libc/misc/internals/__uClibc_main.c
+++ b/libc/misc/internals/__uClibc_main.c
@@ -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));
}