From 6518c64cf8bc5ba9d038196964136df4911d6acc Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 5 Oct 2023 01:16:19 +0200 Subject: [PATCH] Avoid exposing get_line function to the world That would very likely conflict. --- src/api/c/libspeechd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/c/libspeechd.c b/src/api/c/libspeechd.c index fb5e44c0..3cfea3aa 100644 --- a/src/api/c/libspeechd.c +++ b/src/api/c/libspeechd.c @@ -129,6 +129,7 @@ char *strndup(const char *s, size_t n) Unlike getline, this does not handle embedded \0 bytes. */ +static char *get_line(SPDConnection * conn, int *n) { int bytes;