Skip to content

Commit d6d29c5

Browse files
committed
checkinternal.h: hide all symbols when CHECK_INTERNAL is not defined instead just not implementing them
1 parent 90c0cb9 commit d6d29c5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/checkinternal.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
#define checkinternalH
2323
//---------------------------------------------------------------------------
2424

25+
#ifdef CHECK_INTERNAL
26+
2527
#include "check.h"
2628
#include "config.h"
2729

@@ -93,4 +95,7 @@ class CPPCHECKLIB CheckInternal : public Check {
9395
};
9496
/// @}
9597
//---------------------------------------------------------------------------
98+
99+
#endif // CHECK_INTERNAL
100+
96101
#endif // checkinternalH

0 commit comments

Comments
 (0)