From 8a43ce98138d363b6595a16b98b6016c5e306191 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 28 Oct 2025 23:13:42 +0100 Subject: Use C90-compliant comments --- include/stdio.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/stdio.h') 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_ } -#endif // defined(_GNU_SOURCE) || defined(_BSD_SOURCE) -#endif // __clang__ +#endif /* defined(_GNU_SOURCE) || defined(_BSD_SOURCE) */ +#endif /* __clang__ */ #if 0 @@ -260,7 +260,7 @@ _FORTIFY_FN(vasprintf) int vasprintf(char **strp, const char *fmt, __builtin_va_ * TODO: add __diagnose_as_builtin */ -// See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110834 +/* See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110834 */ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wformat-nonliteral" @@ -287,7 +287,7 @@ _FORTIFY_FN(snprintf) int snprintf(char *__s, size_t __n, } __fh_format(printf, 2, 3) -//__fh_access(write_only, 1) +/* __fh_access(write_only, 1) */ __fh_access(read_only, 2) _FORTIFY_FN(sprintf) int sprintf(char *__s, const char *__f, ...) { @@ -352,7 +352,7 @@ _FORTIFY_FN(asprintf) int asprintf(char **strp, const char *fmt, ...) return ret; #endif } -#endif // __clang__ +#endif /* __clang__ */ #endif #pragma GCC diagnostic pop -- cgit v1.3