mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
cdefs: Remove CC_SUPPORTS macros, they are unused
Remove __CC_SUPPORTS_INLINE, __CC_SUPPORTS___INLINE__, __CC_SUPPORTS___FUNC__, __CC_SUPPORTS_WARNING, __CC_SUPPORTS_VARADIC_XXX, __CC_SUPPORTS_DYNAMIC_ARRAY_INIT: they are unused. Also remove them from the generated cryptodevh.py script. Retain, for the moment, __CC_SUPPORTS___INLINE, since it's used in this file. PR: 275221 (exp-run) Sponsored by: Netflix
This commit is contained in:
parent
a83d4fe9cb
commit
b88ca6ee16
|
@ -79,17 +79,7 @@
|
|||
*/
|
||||
#define __compiler_membar() __asm __volatile(" " : : : "memory")
|
||||
|
||||
/* XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced */
|
||||
#define __CC_SUPPORTS_INLINE 1
|
||||
#define __CC_SUPPORTS___INLINE 1
|
||||
#define __CC_SUPPORTS___INLINE__ 1
|
||||
|
||||
#define __CC_SUPPORTS___FUNC__ 1
|
||||
#define __CC_SUPPORTS_WARNING 1
|
||||
|
||||
#define __CC_SUPPORTS_VARADIC_XXX 1 /* see varargs.h */
|
||||
|
||||
#define __CC_SUPPORTS_DYNAMIC_ARRAY_INIT 1
|
||||
|
||||
#endif /* __GNUC__ */
|
||||
|
||||
|
|
|
@ -23,13 +23,6 @@ def __has_include(x): return 0
|
|||
|
||||
def __has_builtin(x): return 0
|
||||
|
||||
__CC_SUPPORTS_INLINE = 1
|
||||
__CC_SUPPORTS___INLINE = 1
|
||||
__CC_SUPPORTS___INLINE__ = 1
|
||||
__CC_SUPPORTS___FUNC__ = 1
|
||||
__CC_SUPPORTS_WARNING = 1
|
||||
__CC_SUPPORTS_VARADIC_XXX = 1
|
||||
__CC_SUPPORTS_DYNAMIC_ARRAY_INIT = 1
|
||||
def __P(protos): return protos
|
||||
|
||||
def __STRING(x): return #x
|
||||
|
|
Loading…
Reference in a new issue