Revision 7de0cc90 core/inc/aos_unittest.h

View differences:

core/inc/aos_unittest.h
117 117
/* EXTERN DECLARATIONS                                                        */
118 118
/******************************************************************************/
119 119

  
120
#ifdef __cplusplus
120
#if defined(__cplusplus)
121 121
extern "C" {
122
#endif
122
#endif /* defined(__cplusplus) */
123 123
  uint32_t aosUtResultTotal(aos_utresult_t* result);
124 124
  float aosUtResultRatio(aos_utresult_t* result);
125 125
  void aosUtResultPrintSummary(BaseSequentialStream* stream, aos_utresult_t* result, char* heading);
......
130 130
  void aosUtFailed(BaseSequentialStream* stream, aos_utresult_t* result);
131 131
  void aosUtFailedMsg(BaseSequentialStream* stream, aos_utresult_t* result, const char* fmt, ...);
132 132
  void aosUtInfoMsg(BaseSequentialStream* stream, const char* fmt, ...);
133
#ifdef __cplusplus
133
#if defined(__cplusplus)
134 134
}
135
#endif
135
#endif /* defined(__cplusplus) */
136 136

  
137 137
/******************************************************************************/
138 138
/* INLINE FUNCTIONS                                                           */
139 139
/******************************************************************************/
140 140

  
141
#endif /* AMIROOS_CFG_TESTS_ENABLE == true */
141
#endif /* (AMIROOS_CFG_TESTS_ENABLE == true) */
142 142

  
143 143
#endif /* AMIROOS_UNITTEST_H */
144 144

  

Also available in: Unified diff