diff options
| author | jvoisin | 2025-10-28 23:13:42 +0100 |
|---|---|---|
| committer | jvoisin | 2025-10-28 23:13:42 +0100 |
| commit | 8a43ce98138d363b6595a16b98b6016c5e306191 (patch) | |
| tree | 2de12f64ed9bb15ef0a224b5085ce0ad4fa6a37e /include/fortify-headers.h | |
| parent | 89b628d34b1ef0423df35a72901daa194d7db956 (diff) | |
Use C90-compliant comments
Diffstat (limited to 'include/fortify-headers.h')
| -rw-r--r-- | include/fortify-headers.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/fortify-headers.h b/include/fortify-headers.h index 7e84075..b5c8bc0 100644 --- a/include/fortify-headers.h +++ b/include/fortify-headers.h | |||
| @@ -124,11 +124,12 @@ | |||
| 124 | 124 | ||
| 125 | #endif /* __has_attribute */ | 125 | #endif /* __has_attribute */ |
| 126 | 126 | ||
| 127 | // Since we're not allow to include anything. | 127 | /* |
| 128 | // https://awesomekling.github.io/How-SerenityOS-declares-ssize_t/ | 128 | Since we're not allow to include anything. |
| 129 | https://awesomekling.github.io/How-SerenityOS-declares-ssize_t/ | ||
| 130 | */ | ||
| 129 | #define __fh_size_t __typeof__(sizeof(char)) | 131 | #define __fh_size_t __typeof__(sizeof(char)) |
| 130 | 132 | ||
| 131 | //TODO(jvoisin) Add a check for overflows | ||
| 132 | /* check if pointers are overlapping but not if dst == src, | 133 | /* check if pointers are overlapping but not if dst == src, |
| 133 | * since gcc seems to like to generate code that relies on dst == src */ | 134 | * since gcc seems to like to generate code that relies on dst == src */ |
| 134 | #define __fh_overlap(a, len_a, b, len_b) \ | 135 | #define __fh_overlap(a, len_a, b, len_b) \ |
