git.annexia.org
/
miniexpect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5d365e
)
miniexpect.h: Change the error codes again.
author
Richard W.M. Jones
<rjones@redhat.com>
Sat, 26 Apr 2014 10:50:33 +0000
(11:50 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Sat, 26 Apr 2014 10:50:33 +0000
(11:50 +0100)
No functional change (although it changes the ABI).
miniexpect.h
patch
|
blob
|
history
diff --git
a/miniexpect.h
b/miniexpect.h
index
31b7269
..
9a374b7
100644
(file)
--- 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,