aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/cmd_line.h
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-04-29 22:14:41 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-04-29 22:16:42 +0200
commitb58e8bfe04f4f8bcbb18dd6cb7c01f4d44b1f9ec (patch)
tree4c7afa46057e73d111e3ef9004a95205f66b0179 /src/cmd_line.h
parentdedupe command line routines (diff)
downloadcimple-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.h4
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