X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=output%2Foutput_skeleton.c;h=d96d41ab4e34f261da5785ed5bd2dadaba2470e4;hb=7c17ac6cc4ecc30a1df1848ef3a3e0827351090c;hp=24cada4a1f77c1dbe7d285b8cd03c95d237b9686;hpb=5a8fda158bd9cc040b36fb3b016808c59ccf89f3;p=libsigrok.git diff --git a/output/output_skeleton.c b/output/output_skeleton.c index 24cada4a..d96d41ab 100644 --- a/output/output_skeleton.c +++ b/output/output_skeleton.c @@ -18,39 +18,29 @@ */ #include - -#include "sigrok.h" - - +#include static int init(struct output *o) { return 0; } - -static int data(struct output *o, char *data_in, uint64_t length_in, char **data_out, uint64_t *length_out) +static int data(struct output *o, char *data_in, uint64_t length_in, + char **data_out, uint64_t *length_out) { - return SIGROK_OK; } - -static int event(struct output *o, int event_type, char **data_out, uint64_t *length_out) +static int event(struct output *o, int event_type, char **data_out, + uint64_t *length_out) { - return SIGROK_OK; } - - - struct output_format output_foo = { "foo", "The foo format", init, data, - event + event, }; - -