Skip to content

Commit

Permalink
add missing include guard
Browse files Browse the repository at this point in the history
  • Loading branch information
giaf committed Oct 29, 2018
1 parent 400030e commit 450a5ca
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/hpipm_d_core_qp_ipm.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
* *
**************************************************************************************************/

#ifndef HPIPM_D_CORE_QP_IPM_
#define HPIPM_D_CORE_QP_IPM_

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -76,3 +79,5 @@ void d_core_qp_ipm(struct d_core_qp_ipm_workspace *workspace);
#ifdef __cplusplus
} /* extern "C" */
#endif

#endif // HPIPM_D_CORE_QP_IPM_
5 changes: 5 additions & 0 deletions include/hpipm_s_core_qp_ipm.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
* *
**************************************************************************************************/

#ifndef HPIPM_S_CORE_QP_IPM_
#define HPIPM_S_CORE_QP_IPM_

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -76,3 +79,5 @@ void s_core_qp_ipm(struct s_core_qp_ipm_workspace *workspace);
#ifdef __cplusplus
} /* extern "C" */
#endif

#endif // HPIPM_S_CORE_QP_IPM_

0 comments on commit 450a5ca

Please sign in to comment.