Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Remove const qualifier from syscall out-parameters (#17382)
Browse files Browse the repository at this point in the history
  • Loading branch information
machacekch authored May 21, 2021
1 parent 3f33242 commit 8758e9e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sdk/bpf/c/inc/solana_sdk.h
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ typedef struct {
uint64_t sol_sha256(
const SolBytes *bytes,
int bytes_len,
const uint8_t *result
uint8_t *result
);

/**
Expand All @@ -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
);

/**
Expand Down Expand Up @@ -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
);

/**
Expand All @@ -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
);

/**
Expand Down

0 comments on commit 8758e9e

Please sign in to comment.