Changeset 6abff2a8 in mainline
- Timestamp:
- 2018-07-08T17:58:14Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d4475a44
- Parents:
- be0f5e4
- Location:
- uspace/lib/c/generic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/libc.c
rbe0f5e4 r6abff2a8 62 62 63 63 static bool env_setup = false; 64 65 /**66 * Used for C++ constructors/destructors67 * and the GCC constructor/destructor extension.68 */69 typedef void (*init_array_entry_t)();70 extern init_array_entry_t __init_array_start[];71 extern init_array_entry_t __init_array_end[];72 typedef void (*fini_array_entry_t)();73 extern fini_array_entry_t __fini_array_start[];74 extern fini_array_entry_t __fini_array_end[];75 64 76 65 void __libc_main(void *pcb_ptr) -
uspace/lib/c/generic/private/libc.h
rbe0f5e4 r6abff2a8 36 36 #define LIBC_PRIVATE_LIBC_H_ 37 37 38 /** 39 * Used for C++ constructors/destructors 40 * and the GCC constructor/destructor extension. 41 */ 42 typedef void (*init_array_entry_t)(); 43 typedef void (*fini_array_entry_t)(); 44 45 extern init_array_entry_t __init_array_start[]; 46 extern init_array_entry_t __init_array_end[]; 47 extern fini_array_entry_t __fini_array_start[]; 48 extern fini_array_entry_t __fini_array_end[]; 49 38 50 extern unsigned char _end[]; 39 51 extern void __libc_main(void *) __attribute__((noreturn));
Note:
See TracChangeset
for help on using the changeset viewer.