diff --git a/include/stdlib.h b/include/stdlib.h index e46e473fabc..f9388037410 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -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 diff --git a/sys/compat/linuxkpi/common/include/linux/compiler.h b/sys/compat/linuxkpi/common/include/linux/compiler.h index 58611a4f472..b1fa12754f7 100644 --- a/sys/compat/linuxkpi/common/include/linux/compiler.h +++ b/sys/compat/linuxkpi/common/include/linux/compiler.h @@ -50,6 +50,7 @@ #define __cond_lock(x,c) (c) #define __bitwise #define __devinitdata +#define __deprecated #define __init #define __initconst #define __devinit diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index de09e196933..42734b788b3 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -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.