Skip to content

Commit

Permalink
include/wtsvc.h: add missing extern C decl.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vic Lee committed Mar 19, 2013
1 parent 8ad21ec commit 77d19bb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/freerdp/channels/wtsvc.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ typedef enum _WTS_VIRTUAL_CLASS
WTSVirtualChannelReady
} WTS_VIRTUAL_CLASS;

#ifdef __cplusplus
extern "C" {
#endif

/**
* WTSVirtualChannelManager functions are FreeRDP extensions to the API.
*/
Expand Down Expand Up @@ -127,4 +131,8 @@ FREERDP_API BOOL WTSVirtualChannelWrite(
FREERDP_API BOOL WTSVirtualChannelClose(
/* __in */ void* hChannelHandle);

#ifdef __cplusplus
}
#endif

#endif /* FREERDP_WTSVC_H */

0 comments on commit 77d19bb

Please sign in to comment.