diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 8 | ||||
-rw-r--r-- | include/util.h | 9 |
2 files changed, 8 insertions, 9 deletions
diff --git a/include/common.h b/include/common.h index 0e9da0c..369c21f 100644 --- a/include/common.h +++ b/include/common.h @@ -156,4 +156,12 @@ 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); + #endif /* COMMON_H */ diff --git a/include/util.h b/include/util.h index a9cfffd..323bedd 100644 --- a/include/util.h +++ b/include/util.h @@ -50,15 +50,6 @@ SQFS_INTERNAL int write_data(const char *errstr, int fd, const void *data, size_t size); /* - 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. -*/ -SQFS_INTERNAL -void print_version(void); - -/* Helper for allocating data structures with flexible array members. 'base_size' is the size of the struct itself, 'item_size' the size of a |