From: Richard W.M. Jones Date: Sat, 26 Apr 2014 10:50:33 +0000 (+0100) Subject: miniexpect.h: Change the error codes again. X-Git-Tag: v1.1~27 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=5b44176d36a170a846a732a0124d7ee1bffd6504;p=miniexpect.git miniexpect.h: Change the error codes again. No functional change (although it changes the ABI). --- diff --git a/miniexpect.h b/miniexpect.h index 31b7269..9a374b7 100644 --- a/miniexpect.h +++ b/miniexpect.h @@ -67,9 +67,9 @@ typedef struct mexp_regexp mexp_regexp; enum mexp_status { MEXP_EOF = 0, - MEXP_TIMEOUT = -1, - MEXP_ERROR = -2, - MEXP_PCRE_ERROR = -3, + MEXP_ERROR = -1, + MEXP_PCRE_ERROR = -2, + MEXP_TIMEOUT = -3, }; extern int mexp_expect (mexp_h *h, const mexp_regexp *regexps,