From 8758e9ed82761de2aff321fca027d6adb30b0543 Mon Sep 17 00:00:00 2001 From: Christian Machacek <39452430+machacekch@users.noreply.github.com> Date: Fri, 21 May 2021 21:09:22 +0200 Subject: [PATCH] Remove const qualifier from syscall out-parameters (#17382) --- 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 ); /**