Module Name:    src
Committed By:   martin
Date:           Wed Nov  4 19:27:53 UTC 2020

Modified Files:
        src/sys/rump/include/sys: sleeptab.h

Log Message:
Add turnstile_print prototype for LOCKDEBUG


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/include/sys/sleeptab.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/include/sys/sleeptab.h
diff -u src/sys/rump/include/sys/sleeptab.h:1.1 src/sys/rump/include/sys/sleeptab.h:1.2
--- src/sys/rump/include/sys/sleeptab.h:1.1	Sun Nov  1 20:58:38 2020
+++ src/sys/rump/include/sys/sleeptab.h	Wed Nov  4 19:27:53 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: sleeptab.h,v 1.1 2020/11/01 20:58:38 christos Exp $	*/
+/*	$NetBSD: sleeptab.h,v 1.2 2020/11/04 19:27:53 martin Exp $	*/
 
 /*
  * Copyright (c) 2020
@@ -35,6 +35,10 @@ struct sleepq {
 	kcondvar_t sq_cv;
 };
 
-void    sleepq_destroy(sleepq_t *); 
+void    sleepq_destroy(sleepq_t *);
+#ifdef LOCKDEBUG
+void	turnstile_print(volatile void *, void (*)(const char *, ...)
+    __printflike(1, 2));
+#endif
 
 #endif	/* _RUMP_SYS_SLEEPTAB_H_ */

Reply via email to