$OpenBSD: patch-src_jslock_c,v 1.1.1.1 2006/10/01 23:02:12 steven Exp $
--- src/jslock.c.orig	Sun Apr  4 00:21:03 2004
+++ src/jslock.c	Mon Sep 25 16:40:31 2006
@@ -193,7 +193,9 @@ js_FinishLock(JSThinLock *tl)
 #endif
 }
 
+#ifndef NSPR_LOCK
 static void js_Dequeue(JSThinLock *);
+#endif
 
 #ifdef DEBUG_SCOPE_COUNT
 
