Skip to content

fix: Correct inline specifier position in bsr_skip_code()#179

Open
Anemptyship wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
Anemptyship:fix/inline-specifier-position
Open

fix: Correct inline specifier position in bsr_skip_code()#179
Anemptyship wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
Anemptyship:fix/inline-specifier-position

Conversation

@Anemptyship
Copy link
Contributor

Summary

Fix the position of inline specifier to comply with C99 standard.

Move 'inline' keyword before the return type to comply with C99 standard.
This fixes the -Wold-style-declaration compiler warning.

Before: static void inline bsr_skip_code(...)
After:  static inline void bsr_skip_code(...)
Signed-off-by: Anemptyship <hanbin1931@gmail.com>
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