Skip to content

Commit

Permalink
Declare handle_sigint as dead
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenz Guenther authored and mptre committed Jul 25, 2017
1 parent fcfbc10 commit 91d7bba
Showing 1 changed file with 2 additions and 2 deletions.
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 @@ -665,7 +665,7 @@ tty_putc(int c)
return putc(c, tty_out);
}

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

0 comments on commit 91d7bba

Please sign in to comment.