diff options
author | Michael Smith <mikesmiffy128@gmail.com> | 2024-09-08 13:59:28 +0100 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2024-09-08 13:59:28 +0100 |
commit | fed587fee58614570a7a34ea52584357effb817a (patch) | |
tree | cb51f28698b663a2499de2c3090b280b1d39ff22 /src | |
parent | 43c64eee8dd08d61d029be5a30c0edc098d282ab (diff) |
Fix a Linux woopsy in os.c I spotted the other day
Note: for all I know Linux isn't even compiling right now - I rarely
actually test that. But still, might as well fix this since it's an
obvious mistake.
Diffstat (limited to 'src')
-rw-r--r-- | src/os.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -166,7 +166,6 @@ struct link_map { static struct link_map *lmbase = 0; void *os_dlhandle(const char *name) { - extern struct link_map *lmbase; // note: defined in sst.c for now if_cold (!lmbase) { // IMPORTANT: not thread safe. don't forget later! lmbase = (struct link_map *)dlopen("libc.so.6", RTLD_LAZY | RTLD_NOLOAD); dlclose(lmbase); // assume success |