summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2018-05-03 02:46:05 -0700
committerVito Caputo <vcaputo@pengaru.com>2018-05-03 02:46:05 -0700
commitb6723b2566f3613eb2a8a6bfd02fea89adcfd9b4 (patch)
tree60cb2c11844e4f021c008b5ef7529d4da31bc8d7 /src
parent9ca50bebfa45165af50fa166888b593db67d8e21 (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.h2
1 files changed, 1 insertions, 1 deletions
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 <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);
© All Rights Reserved