glibc/sysdeps/unix/sysv/linux/bits
Adhemerval Zanella e5a50db36e termios: Consolidate struct termios
This patch consolidates the struct termios definition on its own header
and adds arch-defined ones for ABIs that deviate from generic
implementation. They are:

  - alpha which has a slight different layout than generic one (c_cc
    field is defined prior c_line).

  - sparc and mips which do not have the c_ispeed/c_ospeed fields.

No semantic change is expected, checked on a build against x86_64-linux-gnu,
alpha-linux-gnu, mips64-linux-gnu, and sparc64-linux-gnu.

	* sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
	* sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
	* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
	termios-struct.h.
	* sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
	termios-struct.h.
	* sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
	Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
	Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
	Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
	Likewise.
	* sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
	_HAVE_C_OSPEED): Define.
	* sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
	_HAVE_C_OSPEED): Likewise.
	* sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
	_HAVE_C_OSPEED): Likewise.
	* sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
	(cfsetospeed): Check for define value instead of existence.
	[_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
	* sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
	&& _HAVE_C_ISPEED] (__tcgetattr): Likewise.
	* sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
	&& _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2019-01-03 09:32:12 -02:00
..
types Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
a.out.h
dirent.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
epoll.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
errno.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
eventfd.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
fcntl-linux.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
fcntl.h
in.h Add IPV6_MULTICAST_ALL from Linux 4.20 to bits/in.h. 2019-01-01 02:03:24 +00:00
initspin.h
inotify.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ioctl-types.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ioctls.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ipc.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
local_lim.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mman-linux.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mman-map-flags-generic.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mman-shared.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mman.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mqueue.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
msq-pad.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
msq.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
param.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
poll.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
posix_opt.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
procfs-extra.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
procfs-id.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
procfs-prregset.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
procfs.h Unify some sys/procfs.h headers. 2018-09-25 16:48:15 +00:00
ptrace-shared.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
resource.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sched.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sem-pad.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sem.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
shm-pad.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
shm.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
shmlba.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigaction.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigcontext.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigevent-consts.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
siginfo-arch.h
siginfo-consts-arch.h
siginfo-consts.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
signalfd.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
signum.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigstack.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
socket.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
socket_type.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ss_flags.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
stat.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
statfs.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
statvfs.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sys_errlist.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sysctl.h
termios-struct.h termios: Consolidate struct termios 2019-01-03 09:32:12 -02:00
termios.h termios: Consolidate struct termios 2019-01-03 09:32:12 -02:00
time.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
timerfd.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
timex.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
uio-ext.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
uio_lim.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
utsname.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
waitflags.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00