-
Notifications
You must be signed in to change notification settings - Fork 43
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
Rename files, functions, and variables to match APPNAME_* pattern #77
Comments
I would also like to suggest that as part of renaming any files - also check that they reside in the appropriate directory. In particular - the As far as I can tell, the only header file in the |
Agreed, also whenever we implement this we should use the |
I mention it because at least one user ran into trouble and emailed me because they ran into trouble when including the message definitions from their app's "src" directory externally in other apps - when I pointed out that external/public API like message defintions should be in a separate "inc" directory - turns out the only reason they had it in So I really think its worth the investment to fix all the naming/file/directory patterns and make sure they really are the model we want users to adhere to. Including for the upcoming bundle release associated with cfe 6.8. |
Actually running into issues due to this name inconsistency - probably worth fixing this.... |
Replace inconsistent SAMPLE_ and SAMPLE_App name prefixes, now all identifers should start with SAMPLE_APP_.
Replace inconsistent SAMPLE_ and SAMPLE_App name prefixes, now all identifers should start with SAMPLE_APP_.
Replace inconsistent SAMPLE_ and SAMPLE_App name prefixes, now all identifers should start with SAMPLE_APP_.
Fix #77, Standardize to SAMPLE_APP_ namespace prefix
Describe the bug
PR #73 shed light on inconsistencies in naming conventions. There are multiple items named SAMPLE_itemname as opposed to SAMPLE_APP_itemname.
To Reproduce
One relevant example is
SAMPLE_TblValidationFunc
insample_app.c:226
Expected behavior
All item names should use the prefix
SAMPLE_APP
as opposed toSAMPLE
. In the example above the correct name should then beSAMPLE_APP_TblValidationFunc
.System observed on:
Source Code
Reporter Info
Gerardo E. Cruz-Ortiz, NASA-GSFC
The text was updated successfully, but these errors were encountered: