-
Notifications
You must be signed in to change notification settings - Fork 85
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
reserved identifier violation #2
Comments
Interesting. This is quite a common convention, but you learn something new every day I suppose :). My read is that fdinfo_h would be okay? |
Damn GitHub formatting.
|
How do you think about to reuse also a name pattern like it is applied in other projects? |
amrali
pushed a commit
to amrali/huptime
that referenced
this issue
Dec 23, 2013
TIL: Leading underscores followed by a capital letter is actually a reserved identifier. This replaces the header guards with a non-reserved identifier.
Thanks for your source code improvement. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to point out that identifiers like "
_FDINFO_H_
" and "_FUNCS_H_
" do not fit to the expected naming convention of the C language standard.Would you like to adjust your selection for unique names?
The text was updated successfully, but these errors were encountered: