diff options
author | midipix <writeonce@midipix.org> | 2019-08-03 13:00:07 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-08-03 13:00:07 +0000 |
commit | 831753b17817e33d06c841be66e48be1b05dba54 (patch) | |
tree | b297ee20a3b8f00312e4edc16cda6c18763c0c2b /arch | |
parent | 9b952c125ab54db9f217c90acf7790d8be63e11d (diff) | |
download | mmglue-831753b17817e33d06c841be66e48be1b05dba54.tar.bz2 mmglue-831753b17817e33d06c841be66e48be1b05dba54.tar.xz |
ioctl.h: struct winsize: support both common and arch-specific definition.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/nt32/bits/ioctl.h | 12 | ||||
-rw-r--r-- | arch/nt64/bits/ioctl.h | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/arch/nt32/bits/ioctl.h b/arch/nt32/bits/ioctl.h index 9cbfee7..1bae89b 100644 --- a/arch/nt32/bits/ioctl.h +++ b/arch/nt32/bits/ioctl.h @@ -87,12 +87,12 @@ #define TIOCSER_TEMT 1 -struct winsize { - unsigned short ws_row; - unsigned short ws_col; - unsigned short ws_xpixel; - unsigned short ws_ypixel; -}; +@@@struct winsize { +@@@ unsigned short ws_row; +@@@ unsigned short ws_col; +@@@ unsigned short ws_xpixel; +@@@ unsigned short ws_ypixel; +@@@}; #define TIOCM_LE 0x001 #define TIOCM_DTR 0x002 diff --git a/arch/nt64/bits/ioctl.h b/arch/nt64/bits/ioctl.h index 9cbfee7..1bae89b 100644 --- a/arch/nt64/bits/ioctl.h +++ b/arch/nt64/bits/ioctl.h @@ -87,12 +87,12 @@ #define TIOCSER_TEMT 1 -struct winsize { - unsigned short ws_row; - unsigned short ws_col; - unsigned short ws_xpixel; - unsigned short ws_ypixel; -}; +@@@struct winsize { +@@@ unsigned short ws_row; +@@@ unsigned short ws_col; +@@@ unsigned short ws_xpixel; +@@@ unsigned short ws_ypixel; +@@@}; #define TIOCM_LE 0x001 #define TIOCM_DTR 0x002 |