public: minor refactoring, mark some more functions as returns_nonnull

This commit is contained in:
Alibek Omarov
2026-03-16 22:33:26 +05:00
parent f42e2f59b7
commit df95baa282
6 changed files with 13 additions and 13 deletions

View File

@@ -175,27 +175,27 @@ typedef int qboolean;
#endif // !defined( PFN_RETURNS_NONNULL )
#if !defined( NORETURN )
#define NORETURN
#define NORETURN
#endif // !defined( NORETURN )
#if !defined( NONNULL )
#define NONNULL
#define NONNULL
#endif // !defined( NONNULL )
#if !defined( FORMAT_CHECK )
#define FORMAT_CHECK( x )
#define FORMAT_CHECK( x )
#endif // !defined( FORMAT_CHECK )
#if !defined( ALLOC_CHECK )
#define ALLOC_CHECK( x )
#define ALLOC_CHECK( x )
#endif // !defined( ALLOC_CHECK )
#if !defined( WARN_UNUSED_RESULT )
#define WARN_UNUSED_RESULT
#define WARN_UNUSED_RESULT
#endif // !defined( WARN_UNUSED_RESULT )
#if !defined( RENAME_SYMBOL )
#define RENAME_SYMBOL( x )
#define RENAME_SYMBOL( x )
#endif // !defined( RENAME_SYMBOL )
#if !defined( unlikely ) || !defined( likely )