summaryrefslogtreecommitdiff
path: root/sigchain.h
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2015-12-16 00:04:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-12-16 20:06:08 (GMT)
commitbfb6b53c05daedc4084a5f716804a83781826230 (patch)
treeda2682061e234bbb36412ac791717cd101a89eca /sigchain.h
parentb4e04fb66e87a027c5f9c96bcbbba50719400169 (diff)
downloadgit-bfb6b53c05daedc4084a5f716804a83781826230.zip
git-bfb6b53c05daedc4084a5f716804a83781826230.tar.gz
git-bfb6b53c05daedc4084a5f716804a83781826230.tar.bz2
sigchain: add command to pop all common signals
The new method removes all common signal handlers that were installed by sigchain_push. CC: Jeff King <peff@peff.net> Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sigchain.h')
-rw-r--r--sigchain.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sigchain.h b/sigchain.h
index 618083b..138b20f 100644
--- a/sigchain.h
+++ b/sigchain.h
@@ -7,5 +7,6 @@ int sigchain_push(int sig, sigchain_fun f);
int sigchain_pop(int sig);
void sigchain_push_common(sigchain_fun f);
+void sigchain_pop_common(void);
#endif /* SIGCHAIN_H */