Krolyxon
Commit e98266b

Branches

Refs →

nsxive98266b

State the purpose of CLEANUP macro

Author
Bert Münnich
Date
2017-05-17 15:51 +0200
Parent
7e9b4ce
Commit
e98266b1483e9fb2683bbd26e3e8d48dd1f58cec

+5 −1

2 files changed

  1. M Makefile +1 −1
  2. M types.h +4 −0
M Makefile View
@@ -1,4 +1,4 @@
1−VERSION := git-20170213
1+VERSION := git-20170517
22
33 PREFIX := /usr/local
44 MANPREFIX := $(PREFIX)/share/man
M types.h View
@@ -21,6 +21,10 @@
2121
2222 #include <stdbool.h>
2323
24+/*
25+ * Annotation for functions called in cleanup().
26+ * These functions are not allowed to call error(!0, ...) or exit().
27+ */
2428 #define CLEANUP
2529
2630 typedef enum {