aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.hh
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2019-11-10 11:14:26 -0500
committerJohn Ericson <git@JohnEricson.me>2019-11-10 11:24:47 -0500
commit96e6e680c1a298613756571e4984c340ce887c2a (patch)
tree53e33aa356c6a8766c460f2fe9b74b30891e5577 /src/libutil/util.hh
parent70cab0587dcbc2d0600c07c96b477a2ea2fcd6f3 (diff)
Fix extra ; warnings involving MakeError
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r--src/libutil/util.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh
index 3493e80b5..5f1d1d181 100644
--- a/src/libutil/util.hh
+++ b/src/libutil/util.hh
@@ -160,7 +160,7 @@ void readFull(int fd, unsigned char * buf, size_t count);
void writeFull(int fd, const unsigned char * buf, size_t count, bool allowInterrupts = true);
void writeFull(int fd, const string & s, bool allowInterrupts = true);
-MakeError(EndOfFile, Error)
+MakeError(EndOfFile, Error);
/* Read a file descriptor until EOF occurs. */
@@ -333,10 +333,10 @@ void inline checkInterrupt()
_interrupted();
}
-MakeError(Interrupted, BaseError)
+MakeError(Interrupted, BaseError);
-MakeError(FormatError, Error)
+MakeError(FormatError, Error);
/* String tokenizer. */