From 72d038ecd86c6a6993de20ce58fc61dd2c669299 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 21 May 2021 20:45:35 +0000 Subject: [PATCH] Remove const qualifier from syscall out-parameters (#17382) (#17395) (cherry picked from commit 8758e9ed82761de2aff321fca027d6adb30b0543) Co-authored-by: Christian Machacek <39452430+machacekch@users.noreply.github.com> --- sdk/bpf/c/inc/solana_sdk.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sdk/bpf/c/inc/solana_sdk.h b/sdk/bpf/c/inc/solana_sdk.h index 3c91431cce693f..bb24e758e46f65 100644 --- a/sdk/bpf/c/inc/solana_sdk.h +++ b/sdk/bpf/c/inc/solana_sdk.h @@ -436,7 +436,7 @@ typedef struct { uint64_t sol_sha256( const SolBytes *bytes, int bytes_len, - const uint8_t *result + uint8_t *result ); /** @@ -454,7 +454,7 @@ uint64_t sol_sha256( uint64_t sol_keccak256( const SolBytes *bytes, int bytes_len, - const uint8_t *result + uint8_t *result ); /** @@ -506,7 +506,7 @@ uint64_t sol_create_program_address( const SolSignerSeed *seeds, int seeds_len, const SolPubkey *program_id, - const SolPubkey *program_address + SolPubkey *program_address ); /** @@ -522,8 +522,8 @@ uint64_t sol_try_find_program_address( const SolSignerSeed *seeds, int seeds_len, const SolPubkey *program_id, - const SolPubkey *program_address, - const uint8_t *bump_seed + SolPubkey *program_address, + uint8_t *bump_seed ); /**