From e93eb5bbfaec3a28d051db6f32065c52bd8ced69 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Mon, 14 Sep 2015 08:13:02 +0000 Subject: Use PROTO_DEPRECATED() make tcdrain() weak in libc, to guarantee libpthread can override it --- lib/libc/hidden/termios.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc') 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 * @@ -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); -- cgit v1.2.3