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/stdio.h | |
| parent | 89b628d34b1ef0423df35a72901daa194d7db956 (diff) | |
Use C90-compliant comments
Diffstat (limited to 'include/stdio.h')
| -rw-r--r-- | include/stdio.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/stdio.h b/include/stdio.h index 3c22d12..4403af2 100644 --- a/include/stdio.h +++ b/include/stdio.h | |||
| @@ -239,8 +239,8 @@ _FORTIFY_FN(vasprintf) int vasprintf(char **strp, const char *fmt, __builtin_va_ | |||
| 239 | } | 239 | } |
| 240 | 240 | ||
| 241 | 241 | ||
| 242 | #endif // defined(_GNU_SOURCE) || defined(_BSD_SOURCE) | 242 | #endif /* defined(_GNU_SOURCE) || defined(_BSD_SOURCE) */ |
| 243 | #endif // __clang__ | 243 | #endif /* __clang__ */ |
| 244 | 244 | ||
| 245 | 245 | ||
| 246 | #if 0 | 246 | #if 0 |
| @@ -260,7 +260,7 @@ _FORTIFY_FN(vasprintf) int vasprintf(char **strp, const char *fmt, __builtin_va_ | |||
| 260 | * TODO: add __diagnose_as_builtin | 260 | * TODO: add __diagnose_as_builtin |
| 261 | */ | 261 | */ |
| 262 | 262 | ||
| 263 | // See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110834 | 263 | /* See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110834 */ |
| 264 | #pragma GCC diagnostic push | 264 | #pragma GCC diagnostic push |
| 265 | #pragma GCC diagnostic ignored "-Wformat-nonliteral" | 265 | #pragma GCC diagnostic ignored "-Wformat-nonliteral" |
| 266 | 266 | ||
| @@ -287,7 +287,7 @@ _FORTIFY_FN(snprintf) int snprintf(char *__s, size_t __n, | |||
| 287 | } | 287 | } |
| 288 | 288 | ||
| 289 | __fh_format(printf, 2, 3) | 289 | __fh_format(printf, 2, 3) |
| 290 | //__fh_access(write_only, 1) | 290 | /* __fh_access(write_only, 1) */ |
| 291 | __fh_access(read_only, 2) | 291 | __fh_access(read_only, 2) |
| 292 | _FORTIFY_FN(sprintf) int sprintf(char *__s, const char *__f, ...) | 292 | _FORTIFY_FN(sprintf) int sprintf(char *__s, const char *__f, ...) |
| 293 | { | 293 | { |
| @@ -352,7 +352,7 @@ _FORTIFY_FN(asprintf) int asprintf(char **strp, const char *fmt, ...) | |||
| 352 | return ret; | 352 | return ret; |
| 353 | #endif | 353 | #endif |
| 354 | } | 354 | } |
| 355 | #endif // __clang__ | 355 | #endif /* __clang__ */ |
| 356 | #endif | 356 | #endif |
| 357 | 357 | ||
| 358 | #pragma GCC diagnostic pop | 358 | #pragma GCC diagnostic pop |
