From a0a0dc83173ce11ff45105fd32e5d14356cdfb9c Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 14 Mar 2019 15:44:14 +0100 Subject: Remove obsolete, never-implemented XSI STREAMS declarations The stub implementations are turned into compat symbols. Linux actually has two reserved system call numbers (for getpmsg and putpmsg), but these system calls have never been implemented, and there are no plans to implement them, so this patch replaces the wrappers with the generic stubs. According to , the presence of the XSI STREAMS declarations is a minor portability hazard because they are not actually implemented. This commit does not change the TIRPC support code in sunrpc/rpc_svcout.c. It uses additional XTI functionality and therefore never worked with glibc. Reviewed-by: Carlos O'Donell --- sysdeps/posix/sysconf.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sysdeps/posix') diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c index c1929b312f..0c4f9432e8 100644 --- a/sysdeps/posix/sysconf.c +++ b/sysdeps/posix/sysconf.c @@ -1116,11 +1116,7 @@ __sysconf (int name) #endif case _SC_STREAMS: -#ifdef _XOPEN_STREAMS - return _XOPEN_STREAMS; -#else return -1; -#endif case _SC_HOST_NAME_MAX: #ifdef HOST_NAME_MAX -- cgit 1.4.1