1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00

const on return type is useless. Bump lib version by the way.

This commit is contained in:
Frank Denis 2013-03-11 22:46:17 -07:00
parent f559391557
commit 9e7c960a02
2 changed files with 5 additions and 5 deletions

View File

@ -5,15 +5,15 @@
#define SODIUM_VERSION_STRING "@VERSION@" #define SODIUM_VERSION_STRING "@VERSION@"
#define SODIUM_VERSION_MAJOR 0 #define SODIUM_VERSION_MAJOR 0
#define SODIUM_VERSION_MINOR 3 #define SODIUM_VERSION_MINOR 4
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
const char *sodium_version_string(void); const char *sodium_version_string(void);
const int sodium_version_major(void); int sodium_version_major(void);
const int sodium_version_minor(void); int sodium_version_minor(void);
#ifdef __cplusplus #ifdef __cplusplus
} }

View File

@ -7,13 +7,13 @@ sodium_version_string(void)
return SODIUM_VERSION_STRING; return SODIUM_VERSION_STRING;
} }
const int int
sodium_version_major(void) sodium_version_major(void)
{ {
return SODIUM_VERSION_MAJOR; return SODIUM_VERSION_MAJOR;
} }
const int int
sodium_version_minor(void) sodium_version_minor(void)
{ {
return SODIUM_VERSION_MINOR; return SODIUM_VERSION_MINOR;