git: 8d5353de7447 - main - libc: Annotate a couple of local functions as such
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Jan 2024 16:51:09 UTC
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=8d5353de74471038bd75a6cb39bf58f50a600642 commit 8d5353de74471038bd75a6cb39bf58f50a600642 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2024-01-29 16:43:50 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2024-01-29 16:44:36 +0000 libc: Annotate a couple of local functions as such No functional change intended. MFC after: 1 week --- 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 51fc70658205..26f68f24cc78 100644 --- a/lib/libc/net/getservent.c +++ b/lib/libc/net/getservent.c @@ -937,7 +937,7 @@ fin: return (res); } -int +static int serv_marshal_func(char *buffer, size_t *buffer_size, void *retval, va_list ap, void *cache_mdata) { @@ -1038,7 +1038,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) {