Permalink
Browse files

Remove unused __lib_{init,fini}_array and related stuff

  • Loading branch information...
1 parent 0e4fd12 commit 6e60b3be672c2304e7f586910d37779732176db5 @krasin committed Sep 5, 2011
Showing with 0 additions and 10 deletions.
  1. +0 −10 graphics_2d_example.c
View
@@ -549,11 +549,6 @@ enum NaClStartupInfoIndex {
NACL_STARTUP_ARGV /* argv[0] pointer. */
};
-void __libc_init_array(void) __attribute__((weak));
-void __libc_fini_array(void) __attribute__((weak));
-void _init(void) __attribute__((weak));
-void _fini(void) __attribute__((weak));
-
//void __pthread_initialize(void);
//void __pthread_shutdown(void);
@@ -713,11 +708,6 @@ void _start(uint32_t *info) {
__libnacl_irt_init(auxv);
- if (&__libc_init_array)
- __libc_init_array();
- else
- _init();
-
_exit(PpapiPluginStart(ih.__nacl_irt_query, &ppapi_app_start_callbacks));
/*NOTREACHED*/

0 comments on commit 6e60b3b

Please sign in to comment.