From: Arne Redlich Date: Thu, 13 Feb 2014 21:28:54 +0000 (+0100) Subject: libnfs-raw.h: wrap in extern "C" for C++ compatibility X-Git-Tag: upstream/1.9.6^2~110 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=4641d36ef4f8bbfa91fb910f872ebe3712fc2e6e;p=deb_libnfs.git libnfs-raw.h: wrap in extern "C" for C++ compatibility Signed-off-by: Arne Redlich --- diff --git a/include/nfsc/libnfs-raw.h b/include/nfsc/libnfs-raw.h index 49e8504..180322b 100644 --- a/include/nfsc/libnfs-raw.h +++ b/include/nfsc/libnfs-raw.h @@ -25,6 +25,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + struct rpc_data { int size; unsigned char *data; @@ -1500,4 +1504,8 @@ EXTERN int rpc_nsm1_simucrash_async(struct rpc_context *rpc, rpc_cb cb, void *pr struct NSM1_NOTIFYargs; EXTERN int rpc_nsm1_notify_async(struct rpc_context *rpc, rpc_cb cb, struct NSM1_NOTIFYargs *args, void *private_data); +#ifdef __cplusplus +} +#endif + #endif