From e98266b1483e9fb2683bbd26e3e8d48dd1f58cec Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Wed, 17 May 2017 15:51:11 +0200 Subject: State the purpose of CLEANUP macro --- Makefile | 2 +- types.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 +/* + * Annotation for functions called in cleanup(). + * These functions are not allowed to call error(!0, ...) or exit(). + */ #define CLEANUP typedef enum { -- cgit v1.2.3-54-g00ecf