Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make buf_ensure_space() non-static
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Jun 23, 2014
1 parent 34f4725 commit a6df9a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion http.c
Expand Up @@ -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;

Expand Down
1 change: 1 addition & 0 deletions openconnect-internal.h
Expand Up @@ -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);
Expand Down

0 comments on commit a6df9a2

Please sign in to comment.