diff options
Diffstat (limited to 'libsyscalls_get_signals.c')
-rw-r--r-- | libsyscalls_get_signals.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libsyscalls_get_signals.c b/libsyscalls_get_signals.c index 9c49760..5157457 100644 --- a/libsyscalls_get_signals.c +++ b/libsyscalls_get_signals.c @@ -6,17 +6,20 @@ enum libsyscalls_error libsyscalls_get_signals(enum libsyscalls_os os, enum libsyscalls_arch arch, - const struct libsyscalls_named_number **signals_out, size_t *num_signals_out) + const struct libsyscalls_named_number **signals_out, + size_t *num_signals_out, int *are_signed_out) { const struct libsyscalls_named_number *discard_signals; size_t discard_num_signals; + int discard_are_signed; if (!signals_out) signals_out = &discard_signals; if (!num_signals_out) num_signals_out = &discard_num_signals; + if (!are_signed_out) are_signed_out = &discard_are_signed; #define CASE(UPPERCASE, LOWERCASE)\ case LIBSYSCALLS_OS_##UPPERCASE:\ - return get_##LOWERCASE##_signals(arch, signals_out, num_signals_out) + return get_##LOWERCASE##_signals(arch, signals_out, num_signals_out, are_signed_out) switch ((int)os) { LIST_OSES(CASE, ;); |