Description: External declaration for C++.
 Insert the external declaration needed for
 direct inclusion in C++ sources.
 .
 Protect against duplicate inclusion of the
 header file.
Author: Mats Erik Andersson <debian@gisladisker.se>
Forwarded: no
Last-Update: 2011-03-31

--- twofish-0.3.orig/twofish.h	2002-09-28 06:15:46.000000000 +0200
+++ twofish-0.3/twofish.h	2011-03-31 22:54:39.000000000 +0200
@@ -10,6 +10,12 @@
  * in the source code of this or any derived work.
  */
 
+#ifndef _TWOFISH_H
+#  define _TWOFISH_H
+
+#  ifdef __cplusplus
+extern "C" {
+#  endif
 
 /*
  * PLATFORM FIXES
@@ -177,3 +183,9 @@
                             Twofish_Byte c[16], 
                             Twofish_Byte p[16]
                             );
+
+#  ifdef __cplusplus
+}
+#  endif
+
+#endif /* !_TWOFISH_H */
