Initial original import from: fuse-2.4.2-2.fc4
[captive.git] / src / libcaptive / ke / spinlock.c
index aa403fd..440363d 100644 (file)
@@ -20,6 +20,7 @@
 #include "config.h"
 
 #include "reactos/ddk/kefuncs.h"       /* self */
+#include <glib/gmessages.h>
 
 
 /**
@@ -29,7 +30,9 @@
  * Initalizes a spinlock. Currently libcaptive doesn't use multithreading
  * and thus this function is a NOP now. #GMutex would be needed otherwise.
  */
-VOID STDCALL KeInitializeSpinLock(PKSPIN_LOCK SpinLock)
+VOID KeInitializeSpinLock(PKSPIN_LOCK SpinLock)
 {
+       g_return_if_fail(SpinLock!=NULL);
+
        /* TODO:thread */
 }