From 5b7f7988afbc2940d82f7f3cc7a57ae24a175d79 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Fri, 25 May 2001 23:23:41 +0000 Subject: Added powerpc-specific mmap syscall, 'cause we're special. --- libc/sysdeps/linux/powerpc/bits/termios.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps/linux/powerpc/bits/termios.h') diff --git a/libc/sysdeps/linux/powerpc/bits/termios.h b/libc/sysdeps/linux/powerpc/bits/termios.h index a5ba1d258..adaeb642d 100644 --- a/libc/sysdeps/linux/powerpc/bits/termios.h +++ b/libc/sysdeps/linux/powerpc/bits/termios.h @@ -25,15 +25,16 @@ typedef unsigned char cc_t; typedef unsigned int speed_t; typedef unsigned int tcflag_t; -#define NCCS 32 +/* note: this is fixed to be the same as the kernel, not glibc */ +#define NCCS 19 struct termios { tcflag_t c_iflag; /* input mode flags */ tcflag_t c_oflag; /* output mode flags */ tcflag_t c_cflag; /* control mode flags */ tcflag_t c_lflag; /* local mode flags */ - cc_t c_line; /* line discipline */ cc_t c_cc[NCCS]; /* control characters */ + cc_t c_line; /* line discipline */ speed_t c_ispeed; /* input speed */ speed_t c_ospeed; /* output speed */ }; -- cgit v1.2.3