summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-07-26 14:24:53 +0000
committersobomax <sobomax@FreeBSD.org>2001-07-26 14:24:53 +0000
commit198b1fa0f1f73933cd5f2f4dee5e7f2ed094f4bb (patch)
tree261224117d2278481f9f0ed971b7f22efc1b2aef
parentf19a3f3d630f743eea30cfeb252934f31a4b6c01 (diff)
downloadFreeBSD-src-198b1fa0f1f73933cd5f2f4dee5e7f2ed094f4bb.zip
FreeBSD-src-198b1fa0f1f73933cd5f2f4dee5e7f2ed094f4bb.tar.gz
Move definition of structure used in CONS_SCRSHOT ioctl in front of definition
of ioctl itself, like we have for all other ioctl's in this file. MFC after: 2 weeks
-rw-r--r--sys/sys/consio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/consio.h b/sys/sys/consio.h
index de9b024..bf9e368 100644
--- a/sys/sys/consio.h
+++ b/sys/sys/consio.h
@@ -243,9 +243,6 @@ typedef struct vid_info vid_info_t;
/* release the current keyboard */
#define CONS_RELKBD _IO('c', 111)
-/* Snapshot the current video buffer */
-#define CONS_SCRSHOT _IOWR('c', 105, scrshot_t)
-
struct scrshot {
int xsize;
int ysize;
@@ -253,6 +250,9 @@ struct scrshot {
};
typedef struct scrshot scrshot_t;
+/* Snapshot the current video buffer */
+#define CONS_SCRSHOT _IOWR('c', 105, scrshot_t)
+
/* get/set the current terminal emulator info. */
#define TI_NAME_LEN 32
#define TI_DESC_LEN 64
OpenPOWER on IntegriCloud