From: Alan T. DeKok Date: Wed, 6 Mar 2024 19:03:12 +0000 (-0500) Subject: move nonnull annotation to the right function X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=724ae6c9ebb18fa59e22f8c72069d7cd7033e5de;p=thirdparty%2Ffreeradius-server.git move nonnull annotation to the right function --- diff --git a/src/lib/bio/retry.h b/src/lib/bio/retry.h index 3ea537e21eb..888e0e3a824 100644 --- a/src/lib/bio/retry.h +++ b/src/lib/bio/retry.h @@ -108,9 +108,9 @@ fr_bio_t *fr_bio_retry_alloc(TALLOC_CTX *ctx, size_t max_saved, fr_bio_retry_config_t const *cfg, fr_bio_t *next) CC_HINT(nonnull(1,3,4,6,7,8)); -int fr_bio_retry_entry_cancel(fr_bio_t *bio, fr_bio_retry_entry_t *retry_ctx) CC_HINT(nonnull); +int fr_bio_retry_entry_cancel(fr_bio_t *bio, fr_bio_retry_entry_t *retry_ctx) CC_HINT(nonnull(1)); -int fr_bio_retry_entry_start(fr_bio_t *bio, fr_bio_retry_entry_t *retry_ctx, fr_retry_config_t const *cfg) CC_HINT(nonnull(1)); +int fr_bio_retry_entry_start(fr_bio_t *bio, fr_bio_retry_entry_t *retry_ctx, fr_retry_config_t const *cfg) CC_HINT(nonnull); const fr_retry_t *fr_bio_retry_entry_info(fr_bio_t *bio, fr_bio_retry_entry_t *retry_ctx) CC_HINT(nonnull);