From 9c1cc5c52c29a8662d64f94a4c84b1d44665c45e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 13 Aug 2002 00:23:01 +0000 Subject: [PATCH] 2002-08-13 Jakub Jelinek * include/unistd.h (tcgetpgrp): Add libc_hidden_proto. * include/termios.h (tcsetattr, cfsetispeed, cfsetospeed): Likewise. * sysdeps/generic/tcgetpgrp.c (tcgetpgrp): Add libc_hidden_def. * sysdeps/generic/tcsetattr.c (tcsetattr): Likewise. * sysdeps/generic/speed.c (cfsetispeed, cfsetospeed): Likewise. * sysdeps/unix/bsd/bsd4.4/tcsetattr.c (tcgetpgrp): Likewise. * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Likewise. * sysdeps/unix/bsd/sun/sunos4/speed.c (cfsetispeed, cfsetospeed): Likewise. * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise. * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise. * sysdeps/unix/sysv/aix/tcsetattr.c (tcsetattr): Likewise. * sysdeps/unix/sysv/aix/speed.c (cfsetispeed, cfsetospeed): Likewise. * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise. * sysdeps/unix/sysv/linux/speed.c (cfsetispeed, cfsetospeed): Likewise. * sysdeps/unix/sysv/tcgetpgrp.c (tcgetpgrp): Likewise. * sysdeps/unix/sysv/tcsetattr.c (tcsetattr): Likewise. --- sysdeps/unix/bsd/sun/sunos4/speed.c | 4 +++- sysdeps/unix/bsd/sun/sunos4/tcsetattr.c | 3 ++- sysdeps/unix/sysv/aix/speed.c | 5 ++++- sysdeps/unix/sysv/aix/tcsetattr.c | 3 ++- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/sysdeps/unix/bsd/sun/sunos4/speed.c b/sysdeps/unix/bsd/sun/sunos4/speed.c index dca3468929c..262d70fdfb8 100644 --- a/sysdeps/unix/bsd/sun/sunos4/speed.c +++ b/sysdeps/unix/bsd/sun/sunos4/speed.c @@ -1,5 +1,5 @@ /* `struct termios' speed frobnication functions. SunOS 4 version. - Copyright (C) 1991, 1992, 1993, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1991,1992,1993,1996,1997,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -87,6 +87,7 @@ cfsetospeed (termios_p, speed) __set_errno (EINVAL); return -1; } +libc_hidden_def (cfsetospeed) /* Set the input baud rate stored in *TERMIOS_P to SPEED. */ int @@ -114,3 +115,4 @@ cfsetispeed (termios_p, speed) __set_errno (EINVAL); return -1; } +libc_hidden_def (cfsetispeed) diff --git a/sysdeps/unix/bsd/sun/sunos4/tcsetattr.c b/sysdeps/unix/bsd/sun/sunos4/tcsetattr.c index d61e39284b3..934c4c8cf8f 100644 --- a/sysdeps/unix/bsd/sun/sunos4/tcsetattr.c +++ b/sysdeps/unix/bsd/sun/sunos4/tcsetattr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1996, 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -47,3 +47,4 @@ tcsetattr (fd, optional_actions, termios_p) return __ioctl (fd, cmd, termios_p); } +libc_hidden_def (tcsetattr) diff --git a/sysdeps/unix/sysv/aix/speed.c b/sysdeps/unix/sysv/aix/speed.c index c7fa51bb90a..3a453a7bef8 100644 --- a/sysdeps/unix/sysv/aix/speed.c +++ b/sysdeps/unix/sysv/aix/speed.c @@ -1,5 +1,5 @@ /* `struct termios' speed frobnication functions. AIX version. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -53,6 +53,8 @@ cfsetospeed (termios_p, speed) termios_p->c_cflag |= speed & 0x0000000f; return 0; } +libc_hidden_def (cfsetospeed) + /* Set the input baud rate stored in *TERMIOS_P to SPEED. */ int @@ -70,3 +72,4 @@ cfsetispeed (termios_p, speed) termios_p->c_cflag |= (speed << 16) & ~0x000f0000; return 0; } +libc_hidden_def (cfsetispeed) diff --git a/sysdeps/unix/sysv/aix/tcsetattr.c b/sysdeps/unix/sysv/aix/tcsetattr.c index b11676e4c37..8e78da1c2c1 100644 --- a/sysdeps/unix/sysv/aix/tcsetattr.c +++ b/sysdeps/unix/sysv/aix/tcsetattr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 1995, 1996, 1997, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1992,1995,1996,1997,2000,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -195,3 +195,4 @@ tcsetattr (fd, optional_actions, termios_p) return -1; return 0; } +libc_hidden_def (tcsetattr) -- 2.47.3