diff options
author | 2015-09-14 08:13:01 +0000 | |
---|---|---|
committer | 2015-09-14 08:13:01 +0000 | |
commit | 079ead8cd97e627cbd5da92d29ddf4319a6caa40 (patch) | |
tree | fc1b41b3e5a9c1fab4677d272c9ceb53d3087b6e /lib/libc | |
parent | Add regress for cancellation of wait/waitpid/wait3/wait4 (diff) | |
download | wireguard-openbsd-079ead8cd97e627cbd5da92d29ddf4319a6caa40.tar.xz wireguard-openbsd-079ead8cd97e627cbd5da92d29ddf4319a6caa40.zip |
Use PROTO_DEPRECATED() make tcdrain() weak in libc, to guarantee libpthread
can override it
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/hidden/termios.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/hidden/termios.h b/lib/libc/hidden/termios.h index 2c6420036eb..60bb36b80a6 100644 --- a/lib/libc/hidden/termios.h +++ b/lib/libc/hidden/termios.h @@ -1,4 +1,4 @@ -/* $OpenBSD: termios.h,v 1.1 2015/09/13 11:51:36 guenther Exp $ */ +/* $OpenBSD: termios.h,v 1.2 2015/09/14 08:13:01 guenther Exp $ */ /* * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org> * @@ -26,7 +26,7 @@ PROTO_DEPRECATED(cfmakeraw); PROTO_DEPRECATED(cfsetispeed); PROTO_DEPRECATED(cfsetospeed); PROTO_DEPRECATED(cfsetspeed); -/*PROTO_CANCEL(tcdrain);*/ +PROTO_DEPRECATED/*PROTO_CANCEL*/(tcdrain); PROTO_DEPRECATED(tcflow); PROTO_DEPRECATED(tcflush); PROTO_NORMAL(tcgetattr); |