diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-05-11 14:36:11 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-05-14 16:52:49 -0300 |
commit | 727da58819051dccaa6df3304042de93c6a9876d (patch) | |
tree | 956e70fe4579ea6aef7e85c0be0b8a43f6327001 /src/firemon/firemon.h | |
parent | firejail: simplify print_compiletime_support function (diff) | |
download | firejail-727da58819051dccaa6df3304042de93c6a9876d.tar.gz firejail-727da58819051dccaa6df3304042de93c6a9876d.tar.zst firejail-727da58819051dccaa6df3304042de93c6a9876d.zip |
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
Diffstat (limited to 'src/firemon/firemon.h')
-rw-r--r-- | src/firemon/firemon.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); | |||
49 | void procevent(pid_t pid) __attribute__((noreturn)); | 49 | void procevent(pid_t pid) __attribute__((noreturn)); |
50 | 50 | ||
51 | // usage.c | 51 | // usage.c |
52 | void print_version(void); | ||
52 | void usage(void); | 53 | void usage(void); |
53 | 54 | ||
54 | // top.c | 55 | // top.c |