summaryrefslogtreecommitdiff
path: root/lib/libc_r/uthread/uthread_init.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1996-08-20 08:22:01 +0000
committerJulian Elischer <julian@FreeBSD.org>1996-08-20 08:22:01 +0000
commit0f7d684755aefbcfd70b45d24efc2d39bc505c4c (patch)
treeb14348030d1048f8628b798374a8a061a990aae3 /lib/libc_r/uthread/uthread_init.c
parent1bbb22c82e47dbc805e523be5e2fe3d4436761e0 (diff)
Notes
Diffstat (limited to 'lib/libc_r/uthread/uthread_init.c')
-rw-r--r--lib/libc_r/uthread/uthread_init.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/libc_r/uthread/uthread_init.c b/lib/libc_r/uthread/uthread_init.c
index 6139935176e1..d044063ce9d4 100644
--- a/lib/libc_r/uthread/uthread_init.c
+++ b/lib/libc_r/uthread/uthread_init.c
@@ -202,18 +202,6 @@ _thread_main(int argc, char *argv[], char *env)
_thread_init();
return (main(argc, argv, env));
}
-#else
-/*
- * Force our auto-initialization module to be pulled in from the library,
- * by referencing a symbol that is defined in it.
- *
- * The auto-initialization module is a small C++ module. It has a static
- * constructor that calls _thread_init() automatically, at the beginning
- * of program execution. That eliminates the need for any special hooks
- * in crt0.o.
- */
-extern int _thread_autoinit_dummy_decl;
-static int *_thread_autoinit_dummy_ref = &_thread_autoinit_dummy_decl;
#endif
#else
/*