X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fprocedure.h;h=35678ce60455caeb710857cd4d512ad4e1b3955a;hb=fb67d7201c231228f4a528f0c10d1cd17cddd6c5;hp=3c43e712178b554380e7b3ca5a503cb42d89e2ba;hpb=505d1c592469ea99da7723c2770f13f5dc965046;p=pspp diff --git a/src/data/procedure.h b/src/data/procedure.h index 3c43e71217..35678ce604 100644 --- a/src/data/procedure.h +++ b/src/data/procedure.h @@ -22,7 +22,9 @@ #include #include + #include +#include struct ccase; struct casefile; @@ -63,17 +65,21 @@ void proc_set_sink (struct case_sink *); struct casefile *proc_capture_output (void); bool procedure (bool (*proc_func) (const struct ccase *, void *), - void *aux); + void *aux) + WARN_UNUSED_RESULT; bool procedure_with_splits (void (*begin_func) (const struct ccase *, void *), bool (*proc_func) (const struct ccase *, void *), void (*end_func) (void *), - void *aux); + void *aux) + WARN_UNUSED_RESULT; bool multipass_procedure (bool (*proc_func) (const struct casefile *, void *), - void *aux); + void *aux) + WARN_UNUSED_RESULT; bool multipass_procedure_with_splits (bool (*) (const struct ccase *, const struct casefile *, void *), - void *aux); + void *aux) + WARN_UNUSED_RESULT; time_t time_of_last_procedure (void); /* Number of cases to lag. */