Commit bcced47b authored by Jan Včelák's avatar Jan Včelák 🚀

version.h: remove LIB prefixes, remove outdated comments

parent 0f047e5f
......@@ -16,16 +16,11 @@
#pragma once
/* Version information. This gets parsed by build scripts as well as
* gcc so each #define line in this group must also be splittable on
* whitespace, take the form LIBDNSSEC_VERSION_*.
*/
#define LIBDNSSEC_VERSION_MAJOR @KNOT_VERSION_MAJOR@
#define LIBDNSSEC_VERSION_MINOR @KNOT_VERSION_MINOR@
#define LIBDNSSEC_VERSION_PATCH @KNOT_VERSION_PATCH@
#define LIBDNSSEC_VERSION_EXTRA "@KNOT_VERSION_EXTRA@"
#define DNSSEC_VERSION_MAJOR @KNOT_VERSION_MAJOR@
#define DNSSEC_VERSION_MINOR @KNOT_VERSION_MINOR@
#define DNSSEC_VERSION_PATCH @KNOT_VERSION_PATCH@
#define DNSSEC_VERSION_EXTRA "@KNOT_VERSION_EXTRA@"
#define LIBDNSSEC_VERSION_HEX ((LIBDNSSEC_VERSION_MAJOR << 16) | \
(LIBDNSSEC_VERSION_MINOR << 8) | \
(LIBDNSSEC_VERSION_PATCH))
/* End parsable section. */
#define DNSSEC_VERSION_HEX ((DNSSEC_VERSION_MAJOR << 16) | \
(DNSSEC_VERSION_MINOR << 8) | \
(DNSSEC_VERSION_PATCH))
......@@ -16,16 +16,11 @@
#pragma once
/* Version information. This gets parsed by build scripts as well as
* gcc so each #define line in this group must also be splittable on
* whitespace, take the form LIBKNOT_VERSION_*.
*/
#define LIBKNOT_VERSION_MAJOR @KNOT_VERSION_MAJOR@
#define LIBKNOT_VERSION_MINOR @KNOT_VERSION_MINOR@
#define LIBKNOT_VERSION_PATCH @KNOT_VERSION_PATCH@
#define LIBKNOT_VERSION_EXTRA "@KNOT_VERSION_EXTRA@"
#define KNOT_VERSION_MAJOR @KNOT_VERSION_MAJOR@
#define KNOT_VERSION_MINOR @KNOT_VERSION_MINOR@
#define KNOT_VERSION_PATCH @KNOT_VERSION_PATCH@
#define KNOT_VERSION_EXTRA "@KNOT_VERSION_EXTRA@"
#define LIBKNOT_VERSION_HEX ((LIBKNOT_VERSION_MAJOR << 16) | \
(LIBKNOT_VERSION_MINOR << 8) | \
(LIBKNOT_VERSION_PATCH))
/* End parsable section. */
#define KNOT_VERSION_HEX ((KNOT_VERSION_MAJOR << 16) | \
(KNOT_VERSION_MINOR << 8) | \
(KNOT_VERSION_PATCH))
......@@ -16,16 +16,11 @@
#pragma once
/* Version information. This gets parsed by build scripts as well as
* gcc so each #define line in this group must also be splittable on
* whitespace, take the form LIBZSCANNER_VERSION_*.
*/
#define LIBZSCANNER_VERSION_MAJOR @KNOT_VERSION_MAJOR@
#define LIBZSCANNER_VERSION_MINOR @KNOT_VERSION_MINOR@
#define LIBZSCANNER_VERSION_PATCH @KNOT_VERSION_PATCH@
#define LIBZSCANNER_VERSION_EXTRA "@KNOT_VERSION_EXTRA@"
#define ZSCANNER_VERSION_MAJOR @KNOT_VERSION_MAJOR@
#define ZSCANNER_VERSION_MINOR @KNOT_VERSION_MINOR@
#define ZSCANNER_VERSION_PATCH @KNOT_VERSION_PATCH@
#define ZSCANNER_VERSION_EXTRA "@KNOT_VERSION_EXTRA@"
#define LIBZSCANNER_VERSION_HEX ((LIBZSCANNER_VERSION_MAJOR << 16) | \
(LIBZSCANNER_VERSION_MINOR << 8) | \
(LIBZSCANNER_VERSION_PATCH))
/* End parsable section. */
#define ZSCANNER_VERSION_HEX ((ZSCANNER_VERSION_MAJOR << 16) | \
(ZSCANNER_VERSION_MINOR << 8) | \
(ZSCANNER_VERSION_PATCH))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment