Revision 7de0cc90 core/inc/aos_shell.h

View differences:

core/inc/aos_shell.h
367 367
/* EXTERN DECLARATIONS                                                        */
368 368
/******************************************************************************/
369 369

  
370
#ifdef __cplusplus
370
#if defined(__cplusplus)
371 371
extern "C" {
372
#endif
372
#endif /* defined(__cplusplus) */
373 373
  void aosShellInit(aos_shell_t* shell, event_source_t* oseventsource, const char* prompt, char* line, size_t linesize, char** arglist, size_t arglistsize);
374 374
  void aosShellStreamInit(AosShellStream* stream);
375 375
  void aosShellChannelInit(AosShellChannel* channel, BaseAsynchronousChannel* asyncchannel);
......
383 383
  void aosShellChannelOutputEnable(AosShellChannel* channel);
384 384
  void aosShellChannelOutputDisable(AosShellChannel* channel);
385 385
  THD_FUNCTION(aosShellThread, shell);
386
#ifdef __cplusplus
386
#if defined(__cplusplus)
387 387
}
388
#endif
388
#endif /* defined(__cplusplus) */
389 389

  
390 390
/******************************************************************************/
391 391
/* INLINE FUNCTIONS                                                           */

Also available in: Unified diff