From: Volker Lendecke Date: Fri, 15 Aug 2025 08:09:18 +0000 (+0200) Subject: lib: Make file_ploadv() static X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3db0e8736a38de2387b4ea65aafde3b6786e902;p=thirdparty%2Fsamba.git lib: Make file_ploadv() static All callers want to see lines. Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Fri Aug 15 11:53:56 UTC 2025 on atb-devel-224 --- diff --git a/lib/util/util_file.c b/lib/util/util_file.c index 6c3efdfe2b7..f7bdac4bd84 100644 --- a/lib/util/util_file.c +++ b/lib/util/util_file.c @@ -448,7 +448,7 @@ done: /** Load from a pipe into memory. **/ -char *file_ploadv(char * const argl[], size_t *size) +static char *file_ploadv(char *const argl[], size_t *size) { int fd, n; char *p = NULL; diff --git a/lib/util/util_file.h b/lib/util/util_file.h index 735a821b9a4..808ca65abf5 100644 --- a/lib/util/util_file.h +++ b/lib/util/util_file.h @@ -72,11 +72,6 @@ _PUBLIC_ int fdprintf(int fd, const char *format, ...) PRINTF_ATTRIBUTE(2,3); */ bool file_compare(const char *path1, const char *path2); -/* - load from a pipe into memory. - */ -char *file_ploadv(char * const argl[], size_t *size); - char **file_lines_ploadv(TALLOC_CTX *mem_ctx, char *const argl[], int *numlines);