Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare handle_sigint as dead #210

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pick.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static char *eager_strpbrk(const char *, const char *);
static void filter_choices(void);
static char *get_choices(void);
static enum key get_key(char *, size_t, size_t *);
static void handle_sigint(int);
__dead static void handle_sigint(int);
static int isu8cont(unsigned char);
static int isu8start(unsigned char);
static size_t min_match(const char *, size_t, ssize_t *,
Expand Down Expand Up @@ -664,7 +664,7 @@ tty_putc(int c)
return putc(c, tty_out);
}

void
__dead void
handle_sigint(int sig __attribute__((unused)))
{
tty_restore();
Expand Down