|
@@ -41,10 +41,6 @@ extern void assfail(char *expr, char *f, int l);
|
|
|
# define STATIC static noinline
|
|
|
#endif
|
|
|
|
|
|
-#ifndef STATIC_INLINE
|
|
|
-# define STATIC_INLINE static inline
|
|
|
-#endif
|
|
|
-
|
|
|
#else /* DEBUG */
|
|
|
|
|
|
#define ASSERT(expr) \
|
|
@@ -54,19 +50,5 @@ extern void assfail(char *expr, char *f, int l);
|
|
|
# define STATIC noinline
|
|
|
#endif
|
|
|
|
|
|
-/*
|
|
|
- * We stop inlining of inline functions in debug mode.
|
|
|
- * Unfortunately, this means static inline in header files
|
|
|
- * get multiple definitions, so they need to remain static.
|
|
|
- * This then gives tonnes of warnings about unused but defined
|
|
|
- * functions, so we need to add the unused attribute to prevent
|
|
|
- * these spurious warnings.
|
|
|
- */
|
|
|
-#ifndef STATIC_INLINE
|
|
|
-# define STATIC_INLINE static __attribute__ ((unused)) noinline
|
|
|
-#endif
|
|
|
-
|
|
|
#endif /* DEBUG */
|
|
|
-
|
|
|
-
|
|
|
#endif /* __XFS_SUPPORT_DEBUG_H__ */
|