diff options
author | Freya Murphy <freya@freyacat.org> | 2025-04-03 21:25:40 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-04-03 21:25:40 -0400 |
commit | 248ca4bcf51e215e143b3dd5d1f94b897ab15a61 (patch) | |
tree | 80772ebc3687660eab32eb2eda723cca1cd553e6 /include | |
parent | remove annoying output (diff) | |
download | comus-248ca4bcf51e215e143b3dd5d1f94b897ab15a61.tar.gz comus-248ca4bcf51e215e143b3dd5d1f94b897ab15a61.tar.bz2 comus-248ca4bcf51e215e143b3dd5d1f94b897ab15a61.zip |
fix verbose
Diffstat (limited to 'include')
-rw-r--r-- | include/lib.h | 1 | ||||
-rw-r--r-- | include/string.h | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/include/lib.h b/include/lib.h index 7635845..3ebecfd 100644 --- a/include/lib.h +++ b/include/lib.h @@ -3,4 +3,5 @@ #include <stdbool.h> #include <stdio.h> #include <stdlib.h> +#include <stdint.h> #include <string.h> diff --git a/include/string.h b/include/string.h index e376918..1977ad2 100644 --- a/include/string.h +++ b/include/string.h @@ -59,7 +59,7 @@ extern void *memset(void *restrict dest, int c, size_t n); * @param n - the byte count * @returns a pointer to dest */ -extern void *memcpyv(volatile void *restrict dest, +extern volatile void *memcpyv(volatile void *restrict dest, const volatile void *restrict src, size_t n); /** @@ -71,7 +71,7 @@ extern void *memcpyv(volatile void *restrict dest, * @param n - the byte count * @returns a pointer to dest */ -extern void *memmovev(volatile void *restrict dest, +extern volatile void *memmovev(volatile void *restrict dest, const volatile void *restrict src, size_t n); /** @@ -81,7 +81,7 @@ extern void *memmovev(volatile void *restrict dest, * @param n - the byte count * @returns a pointer to dest */ -extern void *memsetv(volatile void *restrict dest, int c, size_t n); +extern volatile void *memsetv(volatile void *restrict dest, int c, size_t n); /** * Calculates the length of the string pointed to by str, excluding |