aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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 */