diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-09-01 17:22:24 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-09-01 17:22:24 +0200 |
commit | 42fba964c9e23830454fbfdd3895da315356bd27 (patch) | |
tree | 6d5a54554ae318d0b87cc7dfe2290447c3b37832 /lib/include | |
parent | 3b8764b9d21009d7e163bdc20e4a80fb765bbdfc (diff) |
Centralize/unify version string printing
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'lib/include')
-rw-r--r-- | lib/include/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/include/util.h b/lib/include/util.h index 18133a8..6d2bf5d 100644 --- a/lib/include/util.h +++ b/lib/include/util.h @@ -70,5 +70,8 @@ const char *enum_to_name(const enum_map_t *map, int value); */ int mksock(const char *path, int flags); +/* print a default version info and license string */ +NORETURN void print_version(const char *program); + #endif /* UTIL_H */ |