From b6723b2566f3613eb2a8a6bfd02fea89adcfd9b4 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Thu, 3 May 2018 02:46:05 -0700 Subject: libpulp: forward declare thunk_t, omit thunk.h Let the user of pulp.h control how they get at this struct, our libthunk submodule fulfills our implementation needs but the caller's build architecture should be free to fulfill this type however it wants - there may be no thunk.h at all but they still would include pulp.h. --- src/pulp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pulp.h') diff --git a/src/pulp.h b/src/pulp.h index fb270f0..b90b913 100644 --- a/src/pulp.h +++ b/src/pulp.h @@ -18,11 +18,11 @@ #define _PULP_H #include -#include typedef struct pulp_fiber_t pulp_fiber_t; typedef struct pulp_t pulp_t; typedef uint64_t pulp_usec_t; +typedef struct thunk_t thunk_t; pulp_t * pulp_new(void); void pulp_free(pulp_t *pulp); -- cgit v1.2.3