mirror of
https://github.com/git/git
synced 2024-10-30 14:03:28 +00:00
bfb6b53c05
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>
12 lines
247 B
C
12 lines
247 B
C
#ifndef SIGCHAIN_H
|
|
#define SIGCHAIN_H
|
|
|
|
typedef void (*sigchain_fun)(int);
|
|
|
|
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 */
|