Changes in uspace/lib/c/generic/libc.c [47b7006:79ae36dd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/libc.c
r47b7006 r79ae36dd 41 41 */ 42 42 43 #include <stdio.h> 44 #include <unistd.h> 43 #include <libc.h> 45 44 #include <stdlib.h> 46 #include <malloc.h>47 45 #include <tls.h> 48 46 #include <fibril.h> … … 51 49 #include "private/libc.h" 52 50 #include "private/async.h" 53 #include "private/async_sess.h"54 51 #include "private/malloc.h" 55 52 #include "private/io.h" 53 54 #ifdef CONFIG_RTLD 55 #include <rtld/rtld.h> 56 #endif 56 57 57 58 static bool env_setup = false; … … 62 63 __malloc_init(); 63 64 __async_init(); 64 __async_sess_init();65 65 66 66 fibril_t *fibril = fibril_setup(); … … 79 79 char **argv; 80 80 81 #ifdef __IN_SHARED_LIBC__ 82 if (__pcb != NULL && __pcb->rtld_runtime != NULL) { 83 runtime_env = (runtime_env_t *) __pcb->rtld_runtime; 84 } 85 #endif 81 86 /* 82 87 * Get command line arguments and initialize
Note:
See TracChangeset
for help on using the changeset viewer.