diff --git a/gpgmeplug/cryptplug.h b/gpgmeplug/cryptplug.h index 026be5e8..f45fed9e 100644 --- a/gpgmeplug/cryptplug.h +++ b/gpgmeplug/cryptplug.h @@ -23,6 +23,8 @@ #ifndef CRYPTPLUG_H #define CRYPTPLUG_H +#include + #ifdef __cplusplus extern "C" { #else @@ -31,8 +33,6 @@ typedef char bool; #define false 0 #endif -#include - /*! \file cryptplug.h \brief Common API header for CRYPTPLUG. @@ -1324,7 +1324,7 @@ struct StructuringInfo { \see free_StructuringInfo, StructuringInfo \see signMessage, encryptMessage, encryptAndSignMessage */ - static void init_StructuringInfo( struct StructuringInfo* s ) + inline void init_StructuringInfo( struct StructuringInfo* s ) { if( ! s ) return; @@ -1365,7 +1365,7 @@ struct StructuringInfo { \see StructuringInfo */ - static void free_StructuringInfo( struct StructuringInfo* s ) + inline void free_StructuringInfo( struct StructuringInfo* s ) { if( ! s ) return; if( s->contentTypeMain ) free( s->contentTypeMain );