nsxive98266b
State the purpose of CLEANUP macro
+5 −1
2 files changed
| @@ -1,4 +1,4 @@ | |||
| 1 | − | VERSION := git-20170213 | |
| 1 | + | VERSION := git-20170517 | |
| 2 | 2 | ||
| 3 | 3 | PREFIX := /usr/local | |
| 4 | 4 | MANPREFIX := $(PREFIX)/share/man | |
| @@ -21,6 +21,10 @@ | |||
| 21 | 21 | ||
| 22 | 22 | #include <stdbool.h> | |
| 23 | 23 | ||
| 24 | + | /* | |
| 25 | + | * Annotation for functions called in cleanup(). | |
| 26 | + | * These functions are not allowed to call error(!0, ...) or exit(). | |
| 27 | + | */ | |
| 24 | 28 | #define CLEANUP | |
| 25 | 29 | ||
| 26 | 30 | typedef enum { | |