diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-04-10 14:29:09 -0400 |
---|---|---|
committer | Jon Loeliger <jdl@jdl.com> | 2013-04-21 14:23:56 -0500 |
commit | 31be4ce7ca550a6fd9c4eb39abdd2f9f5ac8db44 (patch) | |
tree | 050a1c76aa23b136ab0d11b13688c1db970cbb38 /util.h | |
parent | 97c122eacc8636b26992cf6e080775f7c28660f9 (diff) | |
download | dtc-31be4ce7ca550a6fd9c4eb39abdd2f9f5ac8db44.zip dtc-31be4ce7ca550a6fd9c4eb39abdd2f9f5ac8db44.tar.gz dtc-31be4ce7ca550a6fd9c4eb39abdd2f9f5ac8db44.tar.bz2 |
util_version: new helper for displaying version info
This is so all utilities can have this flag and not just dtc.
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -168,4 +168,9 @@ int utilfdt_decode_type(const char *fmt, int *type, int *size); */ void utilfdt_print_data(const char *data, int len); +/** + * Show source version and exit + */ +void util_version(void) __attribute__((noreturn)); + #endif /* _UTIL_H */ |