State the purpose of CLEANUP macro
This commit is contained in:
parent
7e9b4cee92
commit
e98266b148
2
Makefile
2
Makefile
@ -1,4 +1,4 @@
|
|||||||
VERSION := git-20170213
|
VERSION := git-20170517
|
||||||
|
|
||||||
PREFIX := /usr/local
|
PREFIX := /usr/local
|
||||||
MANPREFIX := $(PREFIX)/share/man
|
MANPREFIX := $(PREFIX)/share/man
|
||||||
|
4
types.h
4
types.h
@ -21,6 +21,10 @@
|
|||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Annotation for functions called in cleanup().
|
||||||
|
* These functions are not allowed to call error(!0, ...) or exit().
|
||||||
|
*/
|
||||||
#define CLEANUP
|
#define CLEANUP
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user