From: Adam Tkac Date: Thu, 24 Jun 2010 20:01:59 +0000 (+0000) Subject: [Bugfix] Declare d3des.h functions inside `extern "C" {}` block. X-Git-Tag: v1.0.90~237 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c0b557bbd3f2b115fc5786933314f139df0d0427;p=tigervnc.git [Bugfix] Declare d3des.h functions inside `extern "C" {}` block. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4070 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/common/rfb/d3des.h b/common/rfb/d3des.h index ea3da44c..73adfadb 100644 --- a/common/rfb/d3des.h +++ b/common/rfb/d3des.h @@ -19,6 +19,10 @@ * (GEnie : OUTER; CIS : [71755,204]) */ +#ifdef __cplusplus +extern "C" { +#endif + #define EN0 0 /* MODE == encrypt */ #define DE1 1 /* MODE == decrypt */ @@ -47,5 +51,9 @@ extern void des(unsigned char *, unsigned char *); * into the block at address 'to'. They can be the same. */ +#ifdef __cplusplus +} +#endif + /* d3des.h V5.09 rwo 9208.04 15:06 Graven Imagery ********************************************************************/