diff --git a/include/spho/spho.h b/include/spho/spho.h index 780e5d7..b33b975 100644 --- a/include/spho/spho.h +++ b/include/spho/spho.h @@ -1,10 +1,7 @@ #ifndef _SPHO_SPHO_H #define _SPHO_SPHO_H -#include - #include "spho/err.h" - -#include "spho/data.h" +#include "spho/ctx.h" #endif diff --git a/src/run/devcheck.c b/src/run/devcheck.c index 9a59086..c975cc0 100644 --- a/src/run/devcheck.c +++ b/src/run/devcheck.c @@ -1,6 +1,18 @@ +#include + +#include "spho/spho.h" int main(void) { + struct spho_ctx *ctx; + + ctx = NULL; + + if ((ctx = spho_ctx_create()) == NULL) + return (-1); + + spho_ctx_destroy(ctx); + return (0); }