Browse Source

lib/signames: remove unused function

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
pull/546/merge
Sami Kerola 5 years ago committed by Karel Zak
parent
commit
0b7e477188
  1. 1
      include/signames.h
  2. 5
      lib/signames.c

1
include/signames.h

@ -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
lib/signames.c

@ -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))

Loading…
Cancel
Save