From: ayin Date: Sat, 29 Dec 2007 12:36:56 +0000 (+0000) Subject: Remove ttymode_t typedef. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=281f97a4ad3e8d7aff19294b7c658e0e18f73d11;p=dana%2Furxvt.git Remove ttymode_t typedef. --- diff --git a/src/init.C b/src/init.C index ac0e181f..579bdf68 100644 --- a/src/init.C +++ b/src/init.C @@ -1139,7 +1139,7 @@ rxvt_term::create_windows (int argc, const char *const *argv) * GET TTY CURRENT STATE * * ------------------------------------------------------------------------- */ void -rxvt_get_ttymode (ttymode_t *tio, int erase) +rxvt_get_ttymode (struct termios *tio, int erase) { /* * standard System V termios interface @@ -1148,7 +1148,7 @@ rxvt_get_ttymode (ttymode_t *tio, int erase) { // return error - use system defaults, // where possible, and zero elsewhere - memset (tio, 0, sizeof (ttymode_t)); + memset (tio, 0, sizeof (struct termios)); tio->c_cc[VINTR] = CINTR; tio->c_cc[VQUIT] = CQUIT; diff --git a/src/rxvt.h b/src/rxvt.h index 4dd311cf..066fc910 100644 --- a/src/rxvt.h +++ b/src/rxvt.h @@ -114,7 +114,6 @@ typedef char *XPointer; #endif #include -typedef struct termios ttymode_t; #include "background.h" @@ -1073,7 +1072,7 @@ struct rxvt_term : zero_initialized, rxvt_vars, rxvt_screen { /* ---------- */ struct mouse_event MEvent; XComposeStatus compose; - ttymode_t tio; + struct termios tio; row_col_t oldcursor; #ifdef HAVE_BG_PIXMAP bgPixmap_t bgPixmap;