diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-04-29 22:14:41 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-04-29 22:16:42 +0200 |
commit | b58e8bfe04f4f8bcbb18dd6cb7c01f4d44b1f9ec (patch) | |
tree | 4c7afa46057e73d111e3ef9004a95205f66b0179 /src/cmd_line.h | |
parent | dedupe command line routines (diff) | |
download | cimple-b58e8bfe04f4f8bcbb18dd6cb7c01f4d44b1f9ec.tar.gz cimple-b58e8bfe04f4f8bcbb18dd6cb7c01f4d44b1f9ec.zip |
cmd_line: read executable name from /proc/self/exe
Diffstat (limited to 'src/cmd_line.h')
-rw-r--r-- | src/cmd_line.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_line.h b/src/cmd_line.h index a661825..58cdb9a 100644 --- a/src/cmd_line.h +++ b/src/cmd_line.h @@ -10,8 +10,8 @@ const char *get_usage_string(); -void exit_with_usage(int ec, const char *argv0); -void exit_with_usage_err(const char *argv0, const char *msg); +void exit_with_usage(int ec); +void exit_with_usage_err(const char *msg); void exit_with_version(); #endif |