Browse Source

[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
tags/v1.0.90
Adam Tkac 14 years ago
parent
commit
c0b557bbd3
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      common/rfb/d3des.h

+ 8
- 0
common/rfb/d3des.h View File

@@ -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
********************************************************************/

Loading…
Cancel
Save