commit e98266b1483e9fb2683bbd26e3e8d48dd1f58cec
Author:     Bert Münnich <[email protected]>
AuthorDate: Wed May 17 15:51:11 2017 +0200
Commit:     Bert Münnich <[email protected]>
CommitDate: Wed May 17 15:51:11 2017 +0200

    State the purpose of CLEANUP macro

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 {

Reply via email to