aboutsummaryrefslogtreecommitdiffstats
path: root/libaxl_protocol_version_major.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-04-24 19:47:41 +0200
committerMattias Andrée <maandree@kth.se>2020-04-24 19:47:41 +0200
commit90cd52ece1623f9b872837a88504faeb9fd593f6 (patch)
tree2c910614d39b0b8dde5eccda25de99a6f360e161 /libaxl_protocol_version_major.c
parentFirst commit (diff)
downloadlibaxl-90cd52ece1623f9b872837a88504faeb9fd593f6.tar.gz
libaxl-90cd52ece1623f9b872837a88504faeb9fd593f6.tar.bz2
libaxl-90cd52ece1623f9b872837a88504faeb9fd593f6.tar.xz
Second commit
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libaxl_protocol_version_major.c')
-rw-r--r--libaxl_protocol_version_major.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libaxl_protocol_version_major.c b/libaxl_protocol_version_major.c
new file mode 100644
index 0000000..7dc00da
--- /dev/null
+++ b/libaxl_protocol_version_major.c
@@ -0,0 +1,8 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+
+int
+libaxl_protocol_version_major(void)
+{
+ return LIBAXL_PROTOCOL_MAJOR;
+}