X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=pctb%2Fcommon.h;h=8b66cf5e94b416a1a3ce4c1aba9bb1c9cbe135da;hb=da2f43597c757ea14a9226e115e1dbe758321251;hp=73e55aea43378e68ea143a08d7d4d0decc1b5029;hpb=f2c5d45ada202f2ad2640b260cac2fd7bb83eb3e;p=ypp-sc-tools.web-live.git diff --git a/pctb/common.h b/pctb/common.h index 73e55ae..8b66cf5 100644 --- a/pctb/common.h +++ b/pctb/common.h @@ -57,6 +57,7 @@ typedef struct { /* both inclusive */ DF(findypp) \ DF(pages) \ DF(rect) \ + DF(struct) \ DF(ocr) \ DF(callout) @@ -110,6 +111,8 @@ void fatal(const char *fmt, ...) FMT(1,2) NORET; void sysassert_fail(const char *file, int line, const char *what) __attribute__((noreturn)); +void waitpid_check_exitstatus(pid_t pid, const char *what); + void *mmalloc(size_t sz); void *mrealloc(void *p, size_t sz);