mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-28 04:12:17 -04:00
BUILD: ring: forward-declare struct appctx to avoid a build warning
When using ring.h standalone it emits warnings about appctx. Let's forward-declare it.
This commit is contained in:
parent
7629f5d670
commit
8df098c2b1
1 changed files with 2 additions and 0 deletions
|
|
@ -26,6 +26,8 @@
|
|||
#include <import/ist.h>
|
||||
#include <haproxy/ring-t.h>
|
||||
|
||||
struct appctx;
|
||||
|
||||
struct ring *ring_new(size_t size);
|
||||
void ring_init(struct ring *ring, void* area, size_t size);
|
||||
struct ring *ring_resize(struct ring *ring, size_t size);
|
||||
|
|
|
|||
Loading…
Reference in a new issue