Revision 7de0cc90 core/inc/aos_thread.h

View differences:

core/inc/aos_thread.h
118 118
/* EXTERN DECLARATIONS                                                        */
119 119
/******************************************************************************/
120 120

  
121
#ifdef __cplusplus
121
#if defined(__cplusplus)
122 122
extern "C" {
123
#endif
123
#endif /* defined(_cplusplus) */
124 124
  void aosThdSleepUntilS(const aos_timestamp_t t);
125 125
#if (AMIROOS_CFG_DBG == true) && (CH_DBG_FILL_THREADS == TRUE)
126 126
  size_t aosThdGetStackPeakUtilization(thread_t* thread);
127
#endif
128
#ifdef __cplusplus
127
#endif /* (AMIROOS_CFG_DBG == true) && (CH_DBG_FILL_THREADS == TRUE) */
128
#if defined(__cplusplus)
129 129
}
130
#endif
130
#endif /* defined(_cplusplus) */
131 131

  
132 132
/******************************************************************************/
133 133
/* INLINE FUNCTIONS                                                           */
......
292 292
         ((size_t)PORT_GUARD_PAGE_SIZE + sizeof(struct port_intctx) + sizeof(struct port_extctx) + (size_t)PORT_INT_REQUIRED_STACK);
293 293
}
294 294

  
295
#endif /* AMIROOS_CFG_DBG == true */
295
#endif /* (AMIROOS_CFG_DBG == true) */
296 296

  
297 297
#endif /* AMIROOS_THREAD_H */
298 298

  

Also available in: Unified diff