aboutsummarylogtreecommitdiffstats
path: root/string-tick.h
diff options
context:
space:
mode:
authorAntony Kellermann2018-05-15 01:21:02 -0400
committerAntony Kellermann2018-05-15 01:21:02 -0400
commit7e25c232216693ebf0a5a91ebe7b75cc63f337b3 (patch)
tree71dd3bb6be645298bd00a97850d2df170aab354d /string-tick.h
parentc2d3b996408b785d180ce6e8daf30573bce70b7c (diff)
downloadaur-7e25c232216693ebf0a5a91ebe7b75cc63f337b3.tar.gz
Small optimizations
Diffstat (limited to 'string-tick.h')
-rw-r--r--string-tick.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/string-tick.h b/string-tick.h
index 7d507024dd9d..b06f82b3f97e 100644
--- a/string-tick.h
+++ b/string-tick.h
@@ -16,6 +16,11 @@
goto cleanup;\
}
+#define EXIT_MSG(msg) {\
+ puts(msg);\
+ exit(EXIT_FAILURE);\
+}
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>