Skip to content

Commit

Permalink
lib/signames: remove unused function
Browse files Browse the repository at this point in the history
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
  • Loading branch information
kerolasa authored and karelzak committed Nov 28, 2017
1 parent bfcd327 commit 0b7e477
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion include/signames.h
Expand Up @@ -3,7 +3,6 @@

int signame_to_signum(const char *sig);
const char *signum_to_signame(int signum);
size_t get_numof_signames(void);
int get_signame_by_idx(size_t idx, const char **signame, int *signum);

#endif /* SIGNAMES_H */
5 changes: 0 additions & 5 deletions lib/signames.c
Expand Up @@ -189,11 +189,6 @@ const char *signum_to_signame(int signum)
return NULL;
}

size_t get_numof_signames(void)
{
return ARRAY_SIZE(ul_signames);
}

int get_signame_by_idx(size_t idx, const char **signame, int *signum)
{
if (idx >= ARRAY_SIZE(ul_signames))
Expand Down

0 comments on commit 0b7e477

Please sign in to comment.