mirror of
https://github.com/git/git
synced 2024-08-25 10:45:59 +00:00
![Stefan Beller](/assets/img/avatar_default.png)
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 */
|