diff options
author | Adam Tkac <atkac@redhat.com> | 2010-06-24 20:01:59 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2010-06-24 20:01:59 +0000 |
commit | c0b557bbd3f2b115fc5786933314f139df0d0427 (patch) | |
tree | c3fbbe112b35878fee60bbbb45d90802ac34eec4 /common | |
parent | de484c9b372ddf72ae22155e8a730f3a33dd339a (diff) | |
download | tigervnc-c0b557bbd3f2b115fc5786933314f139df0d0427.tar.gz tigervnc-c0b557bbd3f2b115fc5786933314f139df0d0427.zip |
[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
Diffstat (limited to 'common')
-rw-r--r-- | common/rfb/d3des.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 ********************************************************************/ |