mirror of
https://github.com/weechat/weechat.git
synced 2026-07-07 10:13:12 +02:00
tests: add tests on function util_signal_search
This commit is contained in:
@@ -422,6 +422,9 @@ util_signal_search (const char *name)
|
||||
{
|
||||
int i;
|
||||
|
||||
if (!name)
|
||||
return -1;
|
||||
|
||||
for (i = 0; util_signals[i].name; i++)
|
||||
{
|
||||
if (string_strcasecmp (util_signals[i].name, name) == 0)
|
||||
|
||||
@@ -36,6 +36,8 @@ struct t_util_signal
|
||||
int signal; /* signal number */
|
||||
};
|
||||
|
||||
extern struct t_util_signal util_signals[];
|
||||
|
||||
/* limits */
|
||||
extern void util_setrlimit ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user