Skip to content

Commit

Permalink
Fixes dependency on opener_user_conf.h
Browse files Browse the repository at this point in the history
Removes commented include on opener_user_conf in opener_api.h
Made include dependent on lib mode in trace.h

Signed-off-by: Martin Melik-Merkumians <[email protected]>
  • Loading branch information
MartinMelikMerkumians committed Mar 25, 2019
1 parent 79fdef5 commit afd1d1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion source/src/opener_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "typedefs.h"
#include "ciptypes.h"
#include "ciperror.h"
//#include "opener_user_conf.h"

/** @defgroup CIP_API OpENer User interface
* @brief This is the public interface of the OpENer. It provides all function
Expand Down
6 changes: 4 additions & 2 deletions source/src/trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@
#ifndef OPENER_TRACE_H_
#define OPENER_TRACE_H_

//#include <opener_user_conf.h>

/** @file trace.h
* @brief Tracing infrastructure for OpENer
*/

#ifdef OPENER_WITH_TRACES

#ifndef BUILD_SHARED_LIBS
#include "opener_user_conf.h"
#endif

/** @def OPENER_TRACE_LEVEL_ERROR Enable tracing of error messages. This is the
* default if no trace level is given.
*/
Expand Down

0 comments on commit afd1d1b

Please sign in to comment.