[PATCH] Remove termios2 ioctl defintions from public headers

Florian Weimer fweimer@redhat.com
Thu Jul 10 09:26:12 GMT 2025


* Andreas Schwab:

> The use of the termios2 ioctl interface is an implementation detail which
> should not bleed into public headers.  Remove the PowerPC version of
> <bits/ioctls.h> and define the termios2 ioctl numbers in <termios_arch.h>
> instead.  Also remove the include check from there which is unneeded in an
> internal header.
> ---
>  sysdeps/unix/sysv/linux/powerpc/bits/ioctls.h | 36 -------------------
>  .../unix/sysv/linux/powerpc/termios_arch.h    | 17 ++++++---
>  2 files changed, 12 insertions(+), 41 deletions(-)
>  delete mode 100644 sysdeps/unix/sysv/linux/powerpc/bits/ioctls.h

This looks okay to me.

I'm testing a patch with a more comprehensive cleanup.  But your patch
can go in first.

Thanks,
Florian



More information about the Libc-alpha mailing list