summaryrefslogtreecommitdiff
path: root/evrpc-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'evrpc-internal.h')
-rw-r--r--evrpc-internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/evrpc-internal.h b/evrpc-internal.h
index c4f7209e..8497d298 100644
--- a/evrpc-internal.h
+++ b/evrpc-internal.h
@@ -35,7 +35,7 @@ struct evrpc_request_wrapper;
#define EVRPC_URI_PREFIX "/.rpc."
struct evrpc_hook {
- TAILQ_ENTRY(evrpc_hook) (next);
+ TAILQ_ENTRY(evrpc_hook) next;
/* returns EVRPC_TERMINATE; if the rpc should be aborted.
* a hook is is allowed to rewrite the evbuffer
@@ -95,14 +95,14 @@ struct evrpc_pool {
};
struct evrpc_hook_ctx {
- TAILQ_ENTRY(evrpc_hook_ctx) (next);
+ TAILQ_ENTRY(evrpc_hook_ctx) next;
void *ctx;
void (*cb)(void *, enum EVRPC_HOOK_RESULT);
};
struct evrpc_meta {
- TAILQ_ENTRY(evrpc_meta) (next);
+ TAILQ_ENTRY(evrpc_meta) next;
char *key;
void *data;