git: 79ca908fded3 - stable/14 - strfmon.c: Use the restrict keyword directly

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sat, 16 Dec 2023 04:18:38 UTC
The branch stable/14 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=79ca908fded37d25dad76366137bdcbba2bf300c

commit 79ca908fded37d25dad76366137bdcbba2bf300c
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-12-09 01:21:02 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-12-16 04:17:51 +0000

    strfmon.c: Use the restrict keyword directly
    
    (cherry picked from commit 86e2bcbf47fb4c8dbd799f2f21c0ed338b2e8f1b)
---
 lib/libc/stdlib/strfmon.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/libc/stdlib/strfmon.c b/lib/libc/stdlib/strfmon.c
index 4b0389345eb6..68a36a6d5567 100644
--- a/lib/libc/stdlib/strfmon.c
+++ b/lib/libc/stdlib/strfmon.c
@@ -640,7 +640,7 @@ __format_grouped_double(double value, int *flags, int left_prec, int right_prec,
 }
 
 ssize_t
-strfmon(char *__restrict s, size_t maxsize, const char *__restrict format, ...)
+strfmon(char *restrict s, size_t maxsize, const char *restrict format, ...)
 {
 	ssize_t ret;
 	va_list ap;
@@ -653,8 +653,8 @@ strfmon(char *__restrict s, size_t maxsize, const char *__restrict format, ...)
 }
 
 ssize_t
-strfmon_l(char *__restrict s, size_t maxsize, locale_t loc,
-    const char *__restrict format, ...)
+strfmon_l(char *restrict s, size_t maxsize, locale_t loc,
+    const char *restrict format, ...)
 {
 	ssize_t ret;
 	va_list ap;