summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-09-14 08:13:02 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-09-14 08:13:02 +0000
commite93eb5bbfaec3a28d051db6f32065c52bd8ced69 (patch)
treeafe72fa4bae2f25020f1c2e300118bcf7684e235 /lib/libc
parentb62790537f19de7fb78627412a6fa634c3574739 (diff)
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.h4
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);