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

Fix #88, Remove redundant comments #89

Merged
merged 1 commit into from
Oct 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions fsw/src/sample_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ int32 SAMPLE_LIB_Init(void)
OS_printf("SAMPLE Lib Initialized.%s\n", SAMPLE_LIB_VERSION_STRING);

return CFE_SUCCESS;

} /* End SAMPLE_LIB_Init */
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
Expand All @@ -77,9 +76,4 @@ int32 SAMPLE_LIB_Function(void)
OS_printf("SAMPLE_LIB_Function called, buffer=\'%s\'\n", SAMPLE_LIB_Buffer);

return CFE_SUCCESS;

} /* End SAMPLE_LIB_Function */

/************************/
/* End of File Comment */
/************************/
}
2 changes: 1 addition & 1 deletion unit-test/inc/OCS_string.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#define OSC_STRING_H

/* ----------------------------------------- */
/* prototypes normally declared in string.h */
/* prototypes normally declared in string.h */
/* ----------------------------------------- */

extern char *OCS_strncpy(char *dest, const char *src, unsigned long size);
Expand Down
2 changes: 1 addition & 1 deletion unit-test/override_inc/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include "OCS_string.h"

/* ----------------------------------------- */
/* mappings for declarations in string.h */
/* mappings for declarations in string.h */
/* ----------------------------------------- */

#define strncpy OCS_strncpy
Expand Down
5 changes: 2 additions & 3 deletions ut-stubs/sample_lib_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ int32 SAMPLE_LIB_Init(void)
* case configures something different.
*/
return UT_DEFAULT_IMPL(SAMPLE_LIB_Init);

} /* End SAMPLE_LIB_Init */
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
Expand All @@ -72,4 +71,4 @@ int32 SAMPLE_LIB_Init(void)
int32 SAMPLE_LIB_Function(void)
{
return UT_DEFAULT_IMPL(SAMPLE_LIB_Function);
} /* End SAMPLE_LIB_Function */
}