main: move signal handler setting to util.c

This commit is contained in:
Miroslav Lichvar
2015-07-27 14:27:41 +02:00
parent 2d581a6a86
commit ceef8ad2d8
3 changed files with 18 additions and 6 deletions

2
util.h
View File

@@ -127,4 +127,6 @@ extern int UTI_CheckNTPAuth(int hash_id, const unsigned char *key, int key_len,
/* Decode password encoded in ASCII or HEX */
extern int UTI_DecodePasswordFromText(char *key);
extern int UTI_SetQuitSignalsHandler(void (*handler)(int));
#endif /* GOT_UTIL_H */