From owner-svn-src-all@freebsd.org Sun Dec 15 17:33:27 2019 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7435B1C9F1D; Sun, 15 Dec 2019 17:33:27 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47bWhl2W0qz3FbC; Sun, 15 Dec 2019 17:33:27 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 515EC18805; Sun, 15 Dec 2019 17:33:27 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBFHXRkn001285; Sun, 15 Dec 2019 17:33:27 GMT (envelope-from cem@FreeBSD.org) Received: (from cem@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBFHXQjR001282; Sun, 15 Dec 2019 17:33:26 GMT (envelope-from cem@FreeBSD.org) Message-Id: <201912151733.xBFHXQjR001282@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cem set sender to cem@FreeBSD.org using -f From: Conrad Meyer Date: Sun, 15 Dec 2019 17:33:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r355776 - in head: include sys/compat/linuxkpi/common/include/linux sys/sys X-SVN-Group: head X-SVN-Commit-Author: cem X-SVN-Commit-Paths: in head: include sys/compat/linuxkpi/common/include/linux sys/sys X-SVN-Commit-Revision: 355776 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Dec 2019 17:33:27 -0000 Author: cem Date: Sun Dec 15 17:33:26 2019 New Revision: 355776 URL: https://svnweb.freebsd.org/changeset/base/355776 Log: Revert r355760, r355759 And remove the inline/deprecated attribute use entirely in stdlib.h, from r355747. The intent was to provide a buildable API transitionary period, but clearly that was counter-productive. Reported by: delphij, imp, others Modified: head/include/stdlib.h head/sys/compat/linuxkpi/common/include/linux/compiler.h head/sys/sys/cdefs.h Modified: head/include/stdlib.h ============================================================================== --- head/include/stdlib.h Sun Dec 15 16:28:12 2019 (r355775) +++ head/include/stdlib.h Sun Dec 15 17:33:26 2019 (r355776) @@ -314,12 +314,6 @@ long long strtonum(const char *, long long, long long, const char **); /* Deprecated interfaces, to be removed. */ -static inline void -__deprecated("sranddev to be removed in FreeBSD 13") -sranddev(void) -{ -} - __int64_t strtoq(const char *, char **, int); __uint64_t Modified: head/sys/compat/linuxkpi/common/include/linux/compiler.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/compiler.h Sun Dec 15 16:28:12 2019 (r355775) +++ head/sys/compat/linuxkpi/common/include/linux/compiler.h Sun Dec 15 17:33:26 2019 (r355776) @@ -50,6 +50,7 @@ #define __cond_lock(x,c) (c) #define __bitwise #define __devinitdata +#define __deprecated #define __init #define __initconst #define __devinit Modified: head/sys/sys/cdefs.h ============================================================================== --- head/sys/sys/cdefs.h Sun Dec 15 16:28:12 2019 (r355775) +++ head/sys/sys/cdefs.h Sun Dec 15 17:33:26 2019 (r355776) @@ -468,14 +468,6 @@ #define __hidden #endif -#if __GNUC_PREREQ__(4, 5) || defined(__clang__) -#define __deprecated(m) __attribute__((__deprecated__(m))) -#elif defined(__GNUC__) -#define __deprecated(m) __attribute__((__deprecated__)) -#else -#define __deprecated(m) -#endif - /* * We define this here since , , and * require it.