From 9e7c960a02d4b763e1d253952a06111ad9b70f56 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 11 Mar 2013 22:46:17 -0700 Subject: [PATCH] const on return type is useless. Bump lib version by the way. --- src/libsodium/include/sodium/version.h.in | 6 +++--- src/libsodium/version.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/libsodium/include/sodium/version.h.in b/src/libsodium/include/sodium/version.h.in index 6935cb4d..ba8c73cb 100644 --- a/src/libsodium/include/sodium/version.h.in +++ b/src/libsodium/include/sodium/version.h.in @@ -5,15 +5,15 @@ #define SODIUM_VERSION_STRING "@VERSION@" #define SODIUM_VERSION_MAJOR 0 -#define SODIUM_VERSION_MINOR 3 +#define SODIUM_VERSION_MINOR 4 #ifdef __cplusplus extern "C" { #endif const char *sodium_version_string(void); -const int sodium_version_major(void); -const int sodium_version_minor(void); +int sodium_version_major(void); +int sodium_version_minor(void); #ifdef __cplusplus } diff --git a/src/libsodium/version.c b/src/libsodium/version.c index bff05ff2..b0a2453d 100644 --- a/src/libsodium/version.c +++ b/src/libsodium/version.c @@ -7,13 +7,13 @@ sodium_version_string(void) return SODIUM_VERSION_STRING; } -const int +int sodium_version_major(void) { return SODIUM_VERSION_MAJOR; } -const int +int sodium_version_minor(void) { return SODIUM_VERSION_MINOR;