State the purpose of CLEANUP macro
This commit is contained in:
parent
7e9b4cee92
commit
e98266b148
2 changed files with 5 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
|||
VERSION := git-20170213
|
||||
VERSION := git-20170517
|
||||
|
||||
PREFIX := /usr/local
|
||||
MANPREFIX := $(PREFIX)/share/man
|
||||
|
|
4
types.h
4
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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue