vm: clean up os-unix.cpp

db4
Slava Pestov 2009-09-25 18:08:00 -05:00
parent bbbb207dab
commit 602776c885
1 changed files with 1 additions and 4 deletions

View File

@ -21,9 +21,8 @@ pthread_key_t tlsKey = 0;
void init_platform_globals() void init_platform_globals()
{ {
if (pthread_key_create(&tlsKey, NULL) != 0){ if (pthread_key_create(&tlsKey, NULL) != 0)
fatal_error("pthread_key_create() failed",0); fatal_error("pthread_key_create() failed",0);
}
} }
@ -75,8 +74,6 @@ void factor_vm::ffi_dlclose(dll *dll)
dll->dll = NULL; dll->dll = NULL;
} }
inline void factor_vm::primitive_existsp() inline void factor_vm::primitive_existsp()
{ {
struct stat sb; struct stat sb;