diff options
author | Mattias Andrée <maandree@kth.se> | 2024-08-24 01:05:44 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-08-24 01:05:44 +0200 |
commit | cf0f05362e71c189b8052bbfddd2f270f907041e (patch) | |
tree | 371ba96e6d0cdda94a5ba0f07628b1d1ea0c5960 /common.h | |
parent | Fix makefile (diff) | |
download | libhashsum-cf0f05362e71c189b8052bbfddd2f270f907041e.tar.gz libhashsum-cf0f05362e71c189b8052bbfddd2f270f907041e.tar.bz2 libhashsum-cf0f05362e71c189b8052bbfddd2f270f907041e.tar.xz |
Standardise how to interpret a partial byte
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | common.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -11,6 +11,12 @@ #include <string.h> +#if defined(__GNUC__) +__attribute__((__const__)) +#endif +uint8_t libhashsum_reverse_byte__(uint8_t); + + #ifdef TEST # include <stdlib.h> # include <stdio.h> |