CLEANUP: mux-quic: do not export qc_get_ncbuf

qc_get_ncbuf() is only used internally : thus its prototype in QUIC MUX
include is not required.

(cherry picked from commit a441ec9c7a6bb97029b4f9432efc94731ace601c)
Signed-off-by: Willy Tarreau <w@1wt.eu>
This commit is contained in:
Amaury Denoyelle 2022-07-04 15:48:57 +02:00 committed by Willy Tarreau
parent 58f18f2ce3
commit 4335b39dc2
2 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,6 @@ struct qcs *qcs_new(struct qcc *qcc, uint64_t id, enum qcs_type type);
void qcs_free(struct qcs *qcs);
struct buffer *qc_get_buf(struct qcs *qcs, struct buffer *bptr);
struct ncbuf *qc_get_ncbuf(struct qcs *qcs, struct ncbuf *ncbuf);
int qcs_subscribe(struct qcs *qcs, int event_type, struct wait_event *es);
void qcs_notify_recv(struct qcs *qcs);

View File

@ -228,7 +228,7 @@ struct buffer *qc_get_buf(struct qcs *qcs, struct buffer *bptr)
return buf;
}
struct ncbuf *qc_get_ncbuf(struct qcs *qcs, struct ncbuf *ncbuf)
static struct ncbuf *qc_get_ncbuf(struct qcs *qcs, struct ncbuf *ncbuf)
{
struct buffer buf = BUF_NULL;