diff options
author | Mattias Andrée <maandree@kth.se> | 2020-06-20 12:13:38 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2020-06-20 12:13:38 +0200 |
commit | 79af02f81b282ef8e521cdfd08462a2c91ff7861 (patch) | |
tree | db458c14b330f3c53dd2410e0db07deef780aa10 /libaxl_protocol_version_major.c | |
parent | Update readme (diff) | |
download | libaxl-79af02f81b282ef8e521cdfd08462a2c91ff7861.tar.gz libaxl-79af02f81b282ef8e521cdfd08462a2c91ff7861.tar.bz2 libaxl-79af02f81b282ef8e521cdfd08462a2c91ff7861.tar.xz |
Change libaxl_protocol_version_major, libaxl_protocol_version_minor, and libaxl_protocol_version into variables
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libaxl_protocol_version_major.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libaxl_protocol_version_major.c b/libaxl_protocol_version_major.c index 6e3fd26..c44d03b 100644 --- a/libaxl_protocol_version_major.c +++ b/libaxl_protocol_version_major.c @@ -1,8 +1,4 @@ /* See LICENSE file for copyright and license details. */ #include "common.h" -int -libaxl_protocol_version_major(void) -{ - return LIBAXL_PROTOCOL_VERSION_MAJOR; -} +const int libaxl_protocol_version_major = LIBAXL_PROTOCOL_VERSION_MAJOR; |