diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2018-05-03 02:46:05 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2018-05-03 02:46:05 -0700 |
commit | b6723b2566f3613eb2a8a6bfd02fea89adcfd9b4 (patch) | |
tree | 60cb2c11844e4f021c008b5ef7529d4da31bc8d7 /src | |
parent | 9ca50bebfa45165af50fa166888b593db67d8e21 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/pulp.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,11 +18,11 @@ #define _PULP_H #include <stdint.h> -#include <thunk.h> 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); |