diff --git a/libtransmission/rpcimpl.h b/libtransmission/rpcimpl.h index ac0098ea1..a92ce335f 100644 --- a/libtransmission/rpcimpl.h +++ b/libtransmission/rpcimpl.h @@ -21,10 +21,6 @@ extern "C" { **** RPC processing ***/ -#ifdef __cplusplus -extern "C" { -#endif - struct tr_benc; typedef void( *tr_rpc_response_func )( tr_session * session, @@ -53,8 +49,4 @@ void tr_rpc_parse_list_str( struct tr_benc * setme, } #endif -#ifdef __cplusplus -} -#endif - #endif /* TR_RPC_H */