Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various fixes/cleanups #39

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Various fixes/cleanups #39

wants to merge 4 commits into from

Conversation

N-R-K
Copy link

@N-R-K N-R-K commented Mar 17, 2022

Hi, these are just some small fixes/cleanups. Additional context is added into each commit message.

N-R-K added 4 commits April 17, 2022 01:37
C standard explicitly states that sources must end with a newline

From C99 5.1.1.2:
	A source file that is not empty shall end in a new-line character, which
	shall not be immediately preceded by a backslash character before any
	such splicing takes place.

And POSIX defines a line as:
	A sequence of zero or more non- <newline> characters plus a
	terminating <newline> character.
if someone edits his CFLAGS or such, it makes sense to triggr a rebuild.
these functions and variables are not used outside the translation unit,
so there's little sense in not marking them as static.
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