patch-1.3.78 linux/include/linux/vt.h

Next file: linux/include/net/af_unix.h
Previous file: linux/include/linux/types.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.77/linux/include/linux/vt.h linux/include/linux/vt.h
@@ -19,9 +19,9 @@
 #define		VT_ACKACQ	0x02	/* acknowledge switch */
 
 struct vt_stat {
-	ushort v_active;	/* active vt */
-	ushort v_signal;	/* signal to send */
-	ushort v_state;		/* vt bitmask */
+	unsigned short v_active;	/* active vt */
+	unsigned short v_signal;	/* signal to send */
+	unsigned short v_state;		/* vt bitmask */
 };
 #define VT_GETSTATE	0x5603	/* get global vt state info */
 #define VT_SENDSIG	0x5604	/* signal to send to bitmask of vts */
@@ -33,19 +33,19 @@
 #define VT_DISALLOCATE	0x5608  /* free memory associated to vt */
 
 struct vt_sizes {
-	ushort v_rows;		/* number of rows */
-	ushort v_cols;		/* number of columns */
-	ushort v_scrollsize;	/* number of lines of scrollback */
+	unsigned short v_rows;		/* number of rows */
+	unsigned short v_cols;		/* number of columns */
+	unsigned short v_scrollsize;	/* number of lines of scrollback */
 };
 #define VT_RESIZE	0x5609	/* set kernel's idea of screensize */
 
 struct vt_consize {
-        ushort v_rows;		/* number of rows */
-	ushort v_cols;		/* number of columns */
-	ushort v_vlin;		/* number of pixel rows on screen */
-	ushort v_clin;		/* number of pixel rows per character */
-	ushort v_vcol;		/* number of pixel columns on screen */
-	ushort v_ccol;		/* number of pixel columns per character */
+	unsigned short v_rows;	/* number of rows */
+	unsigned short v_cols;	/* number of columns */
+	unsigned short v_vlin;	/* number of pixel rows on screen */
+	unsigned short v_clin;	/* number of pixel rows per character */
+	unsigned short v_vcol;	/* number of pixel columns on screen */
+	unsigned short v_ccol;	/* number of pixel columns per character */
 };
 #define VT_RESIZEX      0x560A  /* set kernel's idea of screensize + more */
 #define VT_LOCKSWITCH   0x560B  /* disallow vt switching */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this