Skip to content
Snippets Groups Projects
Verified Commit 4b87ab0d authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add pointers to pthread_init and pthread_terminate

parent 6720dfdc
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,8 @@
#include "pthread.h"
#include "implement.h"
int (*pthread_init_ptr)(void) __attribute__ ((section (".init_array"))) = &pthread_init;
int pthread_init(void)
{
......
......@@ -46,6 +46,7 @@
#include "pthread.h"
#include "implement.h"
void (*pthread_terminate_ptr)(void) __attribute__ ((section (".fini_array"))) = &pthread_terminate;
void pthread_terminate(void)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment