From 727da58819051dccaa6df3304042de93c6a9876d Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Thu, 11 May 2023 14:36:11 -0300 Subject: Standardize version output Changes: * Only print the version line in the print_version function * Add a print_version function where missing (put it in usage.c if the file exists) * Always a blank line after the version --- src/firemon/firemon.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/firemon/firemon.h') diff --git a/src/firemon/firemon.h b/src/firemon/firemon.h index 8b6e75fc3..be83352bb 100644 --- a/src/firemon/firemon.h +++ b/src/firemon/firemon.h @@ -49,6 +49,7 @@ void firemon_sleep(int st); void procevent(pid_t pid) __attribute__((noreturn)); // usage.c +void print_version(void); void usage(void); // top.c -- cgit v1.2.3-54-g00ecf