Skip to content

Commit

Permalink
Fix nasa#51, Use quotes for local includes
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Mar 12, 2021
1 parent 5ded381 commit 0f4c519
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion fsw/src/sample_lib_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#define _sample_lib_internal_h_

/* Include all external/public definitions */
#include <sample_lib.h>
#include "sample_lib.h"

/*************************************************************************
** Macro Definitions
Expand Down
2 changes: 1 addition & 1 deletion unit-test/coveragetest/coveragetest_sample_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
* as well as the normal system string.h. It is differentiated
* by explicitly specifying the "overrides/" prefix here.
*/
#include <OCS_string.h>
#include "OCS_string.h"
#include <stdbool.h>
#include <stdarg.h>

Expand Down
10 changes: 5 additions & 5 deletions unit-test/coveragetest/sample_lib_coveragetest_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
* Includes
*/

#include <utassert.h>
#include <uttest.h>
#include <utstubs.h>
#include "utassert.h"
#include "uttest.h"
#include "utstubs.h"

/*
* Use the public API/definitions from CFE and SAMPLE LIB
*/
#include <cfe.h>
#include <sample_lib_internal.h>
#include "cfe.h"
#include "sample_lib_internal.h"

/*
* Macro to call a function and check its int32 return code
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 @@ -33,7 +33,7 @@
#ifndef _OVERRIDE_STRING_H_
#define _OVERRIDE_STRING_H_

#include <OCS_string.h>
#include "OCS_string.h"

/* ----------------------------------------- */
/* mappings for declarations in string.h */
Expand Down
2 changes: 1 addition & 1 deletion unit-test/override_src/libc_string_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
/*
* This is for the prototype of the "OCS_strncpy()" function
*/
#include <OCS_string.h>
#include "OCS_string.h"

/* **********************************
* Implementation of OCS_strncpy stub
Expand Down

0 comments on commit 0f4c519

Please sign in to comment.