Remove the --signal-list option

This commit is contained in:
Shuanglei Tao
2017-11-05 09:46:17 +08:00
parent 784ac09f05
commit a59da79d62
7 changed files with 48 additions and 68 deletions

View File

@@ -88,16 +88,6 @@ get_sig(const char *sig_name) {
return -1;
}
void print_sig_list() {
char name[30];
for (int sig = 1; sig < NSIG; sig++) {
if (sys_signame[sig] != NULL) {
strcpy(name, sys_signame[sig]);
printf("%2d) SIG%s (%s)\n", sig, uppercase(name), strsignal(sig));
}
}
}
int
open_uri(char *uri) {
#ifdef __APPLE__