$NetBSD: patch-ah,v 1.1 2007/08/12 03:04:34 wiz Exp $

--- jslock.c.orig	2004-12-08 20:32:19.000000000 -0500
+++ jslock.c
@@ -193,7 +193,9 @@ js_FinishLock(JSThinLock *tl)
 #endif
 }
 
+#ifndef NSPR_LOCK
 static void js_Dequeue(JSThinLock *);
+#endif
 
 #ifdef DEBUG_SCOPE_COUNT
 
