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

Remove const qualifier from syscall out-parameters #17382

Merged
merged 1 commit into from
May 21, 2021

Conversation

machacekch
Copy link
Contributor

Problem

In the C SDK header, syscalls' out-parameters are currently declared const, even though (being out-parameters) they are being written to by the function.

Summary of Changes

Removed const.

@jackcmay
Copy link
Contributor

@mvines Should the compiler less restrictive, any objections to throwing this into v1.6?

@mvines
Copy link
Contributor

mvines commented May 21, 2021

@mvines Should the compiler less restrictive, any objections to throwing this into v1.6?

no objections from me

@jackcmay jackcmay added the v1.6 label May 21, 2021
@jackcmay jackcmay merged commit 8758e9e into solana-labs:master May 21, 2021
mergify bot pushed a commit that referenced this pull request May 21, 2021
mergify bot added a commit that referenced this pull request May 21, 2021
(cherry picked from commit 8758e9e)

Co-authored-by: Christian Machacek <39452430+machacekch@users.noreply.github.com>
@brooksprumo brooksprumo mentioned this pull request Aug 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants