summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2019-05-18 11:10:40 -0700
committerJeremy Allison <jra@samba.org>2019-05-24 19:00:05 +0000
commit02bc0ce9d22117b464bae47c5d09c45b4f7c2272 (patch)
treef434ab292bea024c205ef154511697743283a288 /source3/lib
parent4a63e3b9659c8715d436c66dee8bf420e2ea89fb (diff)
downloadsamba-02bc0ce9d22117b464bae47c5d09c45b4f7c2272.tar.gz
s3: lib: Remove file_lines_pload().
No longer used. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13964 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_file.c14
-rw-r--r--source3/lib/util_file.h3
2 files changed, 0 insertions, 17 deletions
diff --git a/source3/lib/util_file.c b/source3/lib/util_file.c
index eeb749be36c..8f91f7d00fb 100644
--- a/source3/lib/util_file.c
+++ b/source3/lib/util_file.c
@@ -157,20 +157,6 @@ int file_pload_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
must be freed with TALLOC_FREE.
**/
-char **file_lines_pload(TALLOC_CTX *mem_ctx, const char *syscmd,
- int *numlines)
-{
- char *p;
- size_t size;
-
- p = file_pload(syscmd, &size);
- if (!p) {
- return NULL;
- }
-
- return file_lines_parse(p, size, numlines, mem_ctx);
-}
-
char **file_lines_ploadv(TALLOC_CTX *mem_ctx,
char * const argl[],
int *numlines)
diff --git a/source3/lib/util_file.h b/source3/lib/util_file.h
index 85bcf06f38c..9cf00aae893 100644
--- a/source3/lib/util_file.h
+++ b/source3/lib/util_file.h
@@ -28,9 +28,6 @@ struct tevent_req *file_pload_send(TALLOC_CTX *mem_ctx,
const char *syscmd, size_t maxsize);
int file_pload_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
uint8_t **buf);
-
-char **file_lines_pload(TALLOC_CTX *mem_ctx, const char *syscmd,
- int *numlines);
char **file_lines_ploadv(TALLOC_CTX *mem_ctx,
char * const argl[],
int *numlines);