diff options
Diffstat (limited to 'src/libstddjb/sig_number.c')
-rw-r--r-- | src/libstddjb/sig_number.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstddjb/sig_number.c b/src/libstddjb/sig_number.c index cbd897d..a588abd 100644 --- a/src/libstddjb/sig_number.c +++ b/src/libstddjb/sig_number.c @@ -1,12 +1,12 @@ /* ISC license. */ -#include <skalibs/bytestr.h> +#include <strings.h> #include <skalibs/sig.h> #include "sig-internal.h" int sig_number (char const *name) { - register sigtable_t const *p = skalibs_sigtable ; - for (; p->name ; p++) if (!case_diffs(name, p->name)) break ; + sigtable_t const *p = skalibs_sigtable ; + for (; p->name ; p++) if (!strcasecmp(name, p->name)) break ; return p->number ; } |