$OpenBSD: patch-erts-47_4_0_system_erl_interface_src_erl_nothreads_c,v 1.1 2004/01/04 23:57:37 espie Exp $
--- erts-47.4.0/system/erl_interface/src/erl_nothreads.c.orig	2004-01-05 00:50:00.000000000 +0100
+++ erts-47.4.0/system/erl_interface/src/erl_nothreads.c	2004-01-05 00:50:07.000000000 +0100
@@ -44,12 +44,6 @@ int erl_init_nothreads(void *x, long y)
 
 #if !defined(VXWORKS) && !defined(__WIN32__)
 
-void *erl_m_create(void)   { return NULL; }
-int erl_m_destroy(void *l) { return 0; }
-int erl_m_lock(void *l)    { return 0; }
-int erl_m_trylock(void *l) { return 0; } 
-int erl_m_unlock(void *l)  { return 0; } 
-
 #ifndef NO_PRAGMA_WEAK
 /* above symbols must be weak since 
  * they are multiply defined 
@@ -62,4 +56,10 @@ int erl_m_unlock(void *l)  { return 0; }
 
 #endif
 
+void *erl_m_create(void)   { return NULL; }
+int erl_m_destroy(void *l) { return 0; }
+int erl_m_lock(void *l)    { return 0; }
+int erl_m_trylock(void *l) { return 0; } 
+int erl_m_unlock(void *l)  { return 0; } 
+
 #endif
