sync our cryptplug.h with the version in KDE/libkdenetwork/ that was corrected my Marc Mutz.
This commit is contained in:
parent
0848c32e0f
commit
1ab6177e27
@ -23,6 +23,8 @@
|
||||
#ifndef CRYPTPLUG_H
|
||||
#define CRYPTPLUG_H
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#else
|
||||
@ -31,8 +33,6 @@ typedef char bool;
|
||||
#define false 0
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
/*! \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 );
|
||||
|
Loading…
Reference in New Issue
Block a user