Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- include/signames.h | 1 - lib/signames.c | 5 ----- 2 files changed, 6 deletions(-) diff --git a/include/signames.h b/include/signames.h index 2096ad845..a4fd1bc59 100644 --- a/include/signames.h +++ b/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 */ diff --git a/lib/signames.c b/lib/signames.c index a654e88b1..316eec527 100644 --- a/lib/signames.c +++ b/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)) -- 2.15.0 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html