summaryrefslogtreecommitdiffstats
path: root/sys/sys/bio.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-04-18 11:21:28 +0000
committerphk <phk@FreeBSD.org>2000-04-18 11:21:28 +0000
commitd6ecb7a5745810db6b410b7c4da569e8e9281082 (patch)
tree337ad9009ab0940f78d14c9ae4449db5325fd65c /sys/sys/bio.h
parentd297953a9f17b56644c7143453a40eb397aab2be (diff)
downloadFreeBSD-src-d6ecb7a5745810db6b410b7c4da569e8e9281082.zip
FreeBSD-src-d6ecb7a5745810db6b410b7c4da569e8e9281082.tar.gz
Don't declare common variables in include files:
move buftimelock til vfs_bio.c where it is initialized.
Diffstat (limited to 'sys/sys/bio.h')
-rw-r--r--sys/sys/bio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/bio.h b/sys/sys/bio.h
index 174851f..4a95e88 100644
--- a/sys/sys/bio.h
+++ b/sys/sys/bio.h
@@ -280,7 +280,7 @@ struct buf {
/*
* Buffer locking
*/
-struct simplelock buftimelock; /* Interlock on setting prio and timo */
+extern struct simplelock buftimelock; /* Interlock on setting prio and timo */
extern char *buf_wmesg; /* Default buffer lock message */
#define BUF_WMESG "bufwait"
#include <sys/proc.h> /* XXX for curproc */
OpenPOWER on IntegriCloud