diff options
author | Mattias Andrée <maandree@kth.se> | 2020-04-24 20:14:50 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2020-04-24 20:14:50 +0200 |
commit | 07c16c7ed83dc7716ebe8cff20e702702ca069f2 (patch) | |
tree | 318ea0a70dc98625277350de3d6322eba7db0ce5 /libaxl.h | |
parent | Third commit (diff) | |
download | libaxl-07c16c7ed83dc7716ebe8cff20e702702ca069f2.tar.gz libaxl-07c16c7ed83dc7716ebe8cff20e702702ca069f2.tar.bz2 libaxl-07c16c7ed83dc7716ebe8cff20e702702ca069f2.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libaxl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -273,7 +273,7 @@ int libaxl_parse_display(const char *, char **, char **, int *, int *); /* TODO * @param display The display's number, the function will assume that it is a valid number * @return The TCP port used for the display */ -_LIBAXL_GCC_ONLY(__attribute__((__warn_unused_result__))) +_LIBAXL_GCC_ONLY(__attribute__((__warn_unused_result__, __const__))) inline uint16_t libaxl_get_tcp_port(int display) /* TODO man */ { return (uint16_t)(display + 6000); |