mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02: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
@ -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…
x
Reference in New Issue
Block a user