aboutsummaryrefslogtreecommitdiffstats
path: root/libaxl_protocol_version_major.3
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_major.3
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_major.3')
-rw-r--r--libaxl_protocol_version_major.319
1 files changed, 5 insertions, 14 deletions
diff --git a/libaxl_protocol_version_major.3 b/libaxl_protocol_version_major.3
index 0a816f0..d16aa9d 100644
--- a/libaxl_protocol_version_major.3
+++ b/libaxl_protocol_version_major.3
@@ -5,26 +5,17 @@ libaxl_protocol_version_major - X protocol version, major number
.nf
#include <libaxl.h>
-int libaxl_protocol_version_major(void);
+extern const int libaxl_protocol_version_major;
.fi
.SH DESCRIPTION
The
-.BR libaxl_protocol_version_major ()
-function returns the major number of the
+.B libaxl_protocol_version_major
+variable is set to the major number of the
highest version of the X protocol that
the library, as linked against, supports.
-.SH RETURN VALUE
-The
-.BR libaxl_protocol_version_major ()
-function returns the major number of the
-highest supported version of the X protocol.
-.SH ERRORS
-The
-.BR libaxl_protocol_version_major ()
-function cannot fail.
.SH NOTES
-There is no corresponding function for the lowest
-supported version. The lowest supported
+There is no corresponding variable for the
+lowest supported version. The lowest supported
version is 11.0 (X11); X11 was released in
September 1987 and predates Linux, thus
this is extremely unlikely this will change.