Commit a6df9a20 authored by David Woodhouse's avatar David Woodhouse

Make buf_ensure_space() non-static

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 34f4725c
......@@ -44,7 +44,7 @@ struct oc_text_buf *buf_alloc(void)
return calloc(1, sizeof(struct oc_text_buf));
}
static int buf_ensure_space(struct oc_text_buf *buf, int len)
int buf_ensure_space(struct oc_text_buf *buf, int len)
{
int new_buf_len;
......
......@@ -582,6 +582,7 @@ int prepare_stoken(struct openconnect_info *vpninfo);
/* http.c */
struct oc_text_buf *buf_alloc(void);
int buf_ensure_space(struct oc_text_buf *buf, int len);
void __attribute__ ((format (printf, 2, 3)))
buf_append(struct oc_text_buf *buf, const char *fmt, ...);
void buf_append_bytes(struct oc_text_buf *buf, const void *bytes, int len);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment