setup: split off a function to handle ordinary .git directories
[alt-git.git] / sigchain.h
blob618083bce0c66a551fd4d894b31520a67b25bac9
1 #ifndef SIGCHAIN_H
2 #define SIGCHAIN_H
4 typedef void (*sigchain_fun)(int);
6 int sigchain_push(int sig, sigchain_fun f);
7 int sigchain_pop(int sig);
9 void sigchain_push_common(sigchain_fun f);
11 #endif /* SIGCHAIN_H */