From 0209b2c932994e9ca55d39d98a83ea02aacd1332 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sat, 18 Mar 2023 23:18:11 -0400 Subject: Modernize code by removing use of old style definitions. Also add -Werror=old-style-definition to enforce new code. Message-Id: --- 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 b23dc1e2..91a00a36 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() + const char *current_tty_name(void) { error_t err; struct ps_tty *tty; -- cgit v1.2.3