mirror of
https://github.com/git/git.git
synced 2024-11-30 21:44:02 +08: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>
13 lines
247 B
C
13 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 */
|