Skip to content

Comments

add static to non-public functions, helped by -Wmissing-prototypes#942

Open
gfx wants to merge 2 commits intoredis:masterfrom
gfx:add_static
Open

add static to non-public functions, helped by -Wmissing-prototypes#942
gfx wants to merge 2 commits intoredis:masterfrom
gfx:add_static

Conversation

@gfx
Copy link

@gfx gfx commented Apr 15, 2021

Hi!

There seem unintentionally exposed functions, for example, hex_digit_to_int, so I've added static to them. I've also added some warnings to help this work, especially -Wmissing-prototypes.

What do you think of it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant