sxiv

simple X image viewer
git clone git://git.suckless.org/sxiv
Log | Files | Refs | LICENSE

commit e98266b1483e9fb2683bbd26e3e8d48dd1f58cec
parent 7e9b4cee92897d219b68549405e50850cea17666
Author: Bert M√ľnnich <ber.t@posteo.de>
Date:   Wed, 17 May 2017 15:51:11 +0200

State the purpose of CLEANUP macro

Diffstat:
Makefile | 2+-
types.h | 4++++
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git 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 @@ -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 {