1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-24 12:36:01 -07:00

Declare the sodium_options anon struct.

This commit is contained in:
Frank Denis 2013-04-18 15:11:47 +02:00
parent faa399c3df
commit dd45e3824f
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,7 @@
#include "sodium.h" #include "sodium.h"
int int
sodium_init(const struct sodium_options *options) sodium_init(sodium_options *options)
{ {
(void) options; (void) options;

View File

@ -2,7 +2,9 @@
#ifndef __SODIUM_CORE_H__ #ifndef __SODIUM_CORE_H__
#define __SODIUM_CORE_H__ #define __SODIUM_CORE_H__
int sodium_init(const struct sodium_options *options); typedef struct sodium_options sodium_options;
int sodium_init(const sodium_options *options);
int sodium_reinit(void); int sodium_reinit(void);
void sodium_shutdown(void); void sodium_shutdown(void);