git: 324e9141068d - stable/14 - libc: Annotate a couple of local functions as such
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Feb 2024 15:04:21 UTC
The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=324e9141068dbad8e794dc95e850c9ef982c0870 commit 324e9141068dbad8e794dc95e850c9ef982c0870 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2024-01-29 16:43:50 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2024-02-09 14:55:45 +0000 libc: Annotate a couple of local functions as such No functional change intended. MFC after: 1 week (cherry picked from commit 8d5353de74471038bd75a6cb39bf58f50a600642) --- lib/libc/net/getservent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/net/getservent.c b/lib/libc/net/getservent.c index 8b341b5a1833..3739cf548828 100644 --- a/lib/libc/net/getservent.c +++ b/lib/libc/net/getservent.c @@ -940,7 +940,7 @@ fin: return (res); } -int +static int serv_marshal_func(char *buffer, size_t *buffer_size, void *retval, va_list ap, void *cache_mdata) { @@ -1041,7 +1041,7 @@ serv_marshal_func(char *buffer, size_t *buffer_size, void *retval, va_list ap, return (NS_SUCCESS); } -int +static int serv_unmarshal_func(char *buffer, size_t buffer_size, void *retval, va_list ap, void *cache_mdata) {