diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-29 16:04:45 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-29 16:04:45 +0100 |
commit | 98d15bdfc7ae70f89f58d46b1727aed19ceaf387 (patch) | |
tree | 762d155dcd0865a0fda43b70fe490be85beee994 /src/client.h | |
parent | add build system + add news file + update deps (diff) | |
download | sat-98d15bdfc7ae70f89f58d46b1727aed19ceaf387.tar.gz sat-98d15bdfc7ae70f89f58d46b1727aed19ceaf387.tar.bz2 sat-98d15bdfc7ae70f89f58d46b1727aed19ceaf387.tar.xz |
fix warnings
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h index 9c10acf..22ff1ac 100644 --- a/src/client.h +++ b/src/client.h @@ -72,6 +72,9 @@ int send_command(enum command cmd, size_t n, const char *restrict msg); * @param array The string array. * @return The number of bytes required to store the array. */ +#ifdef __GNUC__ +__attribute__((__pure__)) +#endif size_t measure_array(char *array[]); /** |