summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2017-05-17 15:51:11 +0200
committerBert Münnich <ber.t@posteo.de>2017-05-17 15:51:11 +0200
commite98266b1483e9fb2683bbd26e3e8d48dd1f58cec (patch)
tree8673d944ad14d3a457308fcf00ab448810039e83
parent7e9b4cee92897d219b68549405e50850cea17666 (diff)
downloadnsxiv-e98266b1483e9fb2683bbd26e3e8d48dd1f58cec.tar.zst
State the purpose of CLEANUP macro
-rw-r--r--Makefile2
-rw-r--r--types.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d41d6b8..f375fa3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION := git-20170213
+VERSION := git-20170517
PREFIX := /usr/local
MANPREFIX := $(PREFIX)/share/man
diff --git a/types.h b/types.h
index 47d115c..6c87105 100644
--- a/types.h
+++ b/types.h
@@ -21,6 +21,10 @@
#include <stdbool.h>
+/*
+ * Annotation for functions called in cleanup().
+ * These functions are not allowed to call error(!0, ...) or exit().
+ */
#define CLEANUP
typedef enum {