From 5b44176d36a170a846a732a0124d7ee1bffd6504 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 26 Apr 2014 11:50:33 +0100 Subject: [PATCH] miniexpect.h: Change the error codes again. No functional change (although it changes the ABI). --- miniexpect.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, -- 1.8.3.1