aboutsummaryrefslogtreecommitdiffstats
path: root/libaxl_protocol_version.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-06-20 12:13:38 +0200
committerMattias Andrée <maandree@kth.se>2020-06-20 12:13:38 +0200
commit79af02f81b282ef8e521cdfd08462a2c91ff7861 (patch)
treedb458c14b330f3c53dd2410e0db07deef780aa10 /libaxl_protocol_version.c
parentUpdate readme (diff)
downloadlibaxl-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 'libaxl_protocol_version.c')
-rw-r--r--libaxl_protocol_version.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libaxl_protocol_version.c b/libaxl_protocol_version.c
index feaa953..e4f02ca 100644
--- a/libaxl_protocol_version.c
+++ b/libaxl_protocol_version.c
@@ -1,8 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include "common.h"
-int
-libaxl_protocol_version(void)
-{
- return LIBAXL_PROTOCOL_VERSION;
-}
+const int libaxl_protocol_version = LIBAXL_PROTOCOL_VERSION;