fixed extern C duplicates

This commit is contained in:
git@daemon.de
2013-11-29 18:45:44 +01:00
parent 33844f6ceb
commit 2fdbf8e1be
6 changed files with 181 additions and 32 deletions

View File

@@ -23,10 +23,6 @@
#ifndef _HAVE_PCP_KEYPAIR_H
#define _HAVE_PCP_KEYPAIR_H
#ifdef __cplusplus
extern "C" {
#endif
#include <sodium.h>
#include <string.h>
#include <stdio.h>
@@ -163,8 +159,4 @@ void pcp_seckeyblob(void *blob, pcp_key_t *k);
void pcp_pubkeyblob(void *blob, pcp_pubkey_t *k);
void *pcp_keyblob(void *k, int type); // allocates blob
#ifdef __cplusplus
}
#endif
#endif // _HAVE_PCP_KEYPAIR_H