Remove const qualifier from syscall out-parameters (#17382)

This commit is contained in:
Christian Machacek
2021-05-21 21:09:22 +02:00
committed by GitHub
parent 3f3324231d
commit 8758e9ed82

View File

@ -436,7 +436,7 @@ typedef struct {
uint64_t sol_sha256( uint64_t sol_sha256(
const SolBytes *bytes, const SolBytes *bytes,
int bytes_len, int bytes_len,
const uint8_t *result uint8_t *result
); );
/** /**
@ -454,7 +454,7 @@ uint64_t sol_sha256(
uint64_t sol_keccak256( uint64_t sol_keccak256(
const SolBytes *bytes, const SolBytes *bytes,
int bytes_len, int bytes_len,
const uint8_t *result uint8_t *result
); );
/** /**
@ -506,7 +506,7 @@ uint64_t sol_create_program_address(
const SolSignerSeed *seeds, const SolSignerSeed *seeds,
int seeds_len, int seeds_len,
const SolPubkey *program_id, 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, const SolSignerSeed *seeds,
int seeds_len, int seeds_len,
const SolPubkey *program_id, const SolPubkey *program_id,
const SolPubkey *program_address, SolPubkey *program_address,
const uint8_t *bump_seed uint8_t *bump_seed
); );
/** /**