From 12e2e281a5b3ed1c8594677d150c4f34381248a2 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Tue, 9 May 2023 00:31:10 +0300 Subject: utils: Avoid warnings about prototype mismatch Message-Id: <20230508213136.608575-16-bugaevc@gmail.com> --- utils/ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/ps.c') diff --git a/utils/ps.c b/utils/ps.c index 6fd4e64e..3c8c3c88 100644 --- a/utils/ps.c +++ b/utils/ps.c @@ -250,7 +250,7 @@ main(int argc, char *argv[]) } /* Returns the name of the current controlling terminal. */ - const char *current_tty_name(void) + const char *current_tty_name (struct argp_state *state) { error_t err; struct ps_tty *tty; -- cgit v1.2.3