summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsmoused.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-14 04:55:22 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-14 04:55:22 +0000
commitc0ab4e97ed5d514d5a2d2812641d9add29613762 (patch)
tree00f0ac961f0f29c2f12ba5ed639e9bd92958621d /sys/dev/wscons/wsmoused.h
parenta7b82c2363cc1edbb435d1c79c63207c4b168a18 (diff)
initialized data cannot be common, dunno how it compiled before
Diffstat (limited to 'sys/dev/wscons/wsmoused.h')
-rw-r--r--sys/dev/wscons/wsmoused.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/wscons/wsmoused.h b/sys/dev/wscons/wsmoused.h
index 2087eea6f90..30316809a02 100644
--- a/sys/dev/wscons/wsmoused.h
+++ b/sys/dev/wscons/wsmoused.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsmoused.h,v 1.2 2002/03/14 01:27:03 millert Exp $ */
+/* $OpenBSD: wsmoused.h,v 1.3 2002/03/14 04:55:21 mickey Exp $ */
/*
* Copyright (c) 2001 Jean-Baptiste Marchand, Julien Montagne and Jerome Verdon
@@ -37,6 +37,7 @@
*
*/
+struct wsdisplay_softc;
int wsmoused(struct wsdisplay_softc *, u_long, caddr_t, int,
struct proc *p);
@@ -75,9 +76,9 @@ void allocate_copybuffer(struct wsdisplay_softc *);
void sysbeep(int, int);
-char *Copybuffer = NULL; /* buffer that contains mouse selections */
-unsigned int Copybuffer_size = 0;
-char Paste_avail = 0; /* flag, to indicate whether a selection is in the
+extern char *Copybuffer; /* buffer that contains mouse selections */
+extern u_int Copybuffer_size;
+extern char Paste_avail; /* flag, to indicate whether a selection is in the
Copy buffer */
#define NO_BORDER 0