kernel: Remove NONNULL annotation from destroy method

No other *_destroy function in the Kernel API carries this annotation.
Following the convention set by free(), destroy functions should accept
null pointers.

Github-Pull: #34982
Rebased-From: 75608547b4
This commit is contained in:
Alexander Wiederin
2026-04-01 13:23:54 +02:00
committed by fanquake
parent 56cdeab8b5
commit f0e1014c39

View File

@@ -1333,7 +1333,7 @@ BITCOINKERNEL_API btck_BlockValidationState* BITCOINKERNEL_WARN_UNUSED_RESULT bt
* Destroy the btck_BlockValidationState.
*/
BITCOINKERNEL_API void btck_block_validation_state_destroy(
btck_BlockValidationState* block_validation_state) BITCOINKERNEL_ARG_NONNULL(1);
btck_BlockValidationState* block_validation_state);
///@}