Skip to content

Commit

Permalink
Merge pull request #89 from thnkslprpt/fix-88-comment-cleanup
Browse files Browse the repository at this point in the history
Fix #88, Remove redundant comments
  • Loading branch information
dzbaker committed Oct 11, 2022
2 parents 286bb59 + 5ee283c commit 9526649
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 13 deletions.
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 */
}

0 comments on commit 9526649

Please # to comment.