aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-11-06 12:17:33 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-11-06 12:17:33 +0100
commit5fa2d158266c24528132589a1bd77b33de7d4d25 (patch)
tree9c3c6517a1e112a51a02298e8422a33f54841788 /include
parent2c49bf4fca54e9acb47844878cc43617ce2a1422 (diff)
Cleanup: remove BSD style __progname
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r--include/common.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/common.h b/include/common.h
index 676dd6a..93bbb26 100644
--- a/include/common.h
+++ b/include/common.h
@@ -157,12 +157,7 @@ int pushdn(const char *path, size_t len);
/* Returns 0 on success. On failure, prints error message to stderr. */
int popd(void);
-/*
- A common implementation of the '--version' command line flag.
-
- Prints out version information. The program name is extracted from the
- BSD style __progname global variable.
-*/
-void print_version(void);
+/* A common implementation of the '--version' command line flag. */
+void print_version(const char *progname);
#endif /* COMMON_H */