aboutsummaryrefslogtreecommitdiffstats
path: root/libaxl.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libaxl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libaxl.h b/libaxl.h
index 7ecc19d..0d2abdd 100644
--- a/libaxl.h
+++ b/libaxl.h
@@ -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);