Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
State the purpose of CLEANUP macro
Browse files Browse the repository at this point in the history
  • Loading branch information
xyb3rt committed May 17, 2017
1 parent 7e9b4ce commit e98266b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
@@ -1,4 +1,4 @@
VERSION := git-20170213
VERSION := git-20170517

PREFIX := /usr/local
MANPREFIX := $(PREFIX)/share/man
Expand Down
4 changes: 4 additions & 0 deletions types.h
Expand Up @@ -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 {
Expand Down

0 comments on commit e98266b

Please sign in to comment.