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

version.h: fix basic coding style

parent 15addc1f
/*!
* \file version.h
*
* \author Ondřej Surý <ondrej.sury@nic.cz>
*
* \brief Convenience header with version number
*
* @{
*/
/* Copyright (C) 2011 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
/* Copyright (C) 2015 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -21,7 +12,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
*/
#pragma once
......@@ -29,14 +20,12 @@
* 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 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 LIBDNSSEC_VERSION_HEX ((LIBDNSSEC_VERSION_MAJOR << 16) | \
(LIBDNSSEC_VERSION_MINOR << 8) | \
(LIBDNSSEC_VERSION_PATCH))
#define LIBDNSSEC_VERSION_HEX ((LIBDNSSEC_VERSION_MAJOR << 16) | \
(LIBDNSSEC_VERSION_MINOR << 8) | \
(LIBDNSSEC_VERSION_PATCH))
/* End parsable section. */
/*! @} */
/*!
* \file version.h
*
* \author Ondřej Surý <ondrej.sury@nic.cz>
*
* \brief Convenience header with version number
*
* @{
*/
/* Copyright (C) 2011 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
/* Copyright (C) 2015 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -21,7 +12,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
*/
#pragma once
......@@ -29,14 +20,12 @@
* 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 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 LIBKNOT_VERSION_HEX ((LIBKNOT_VERSION_MAJOR << 16) | \
(LIBKNOT_VERSION_MINOR << 8) | \
(LIBKNOT_VERSION_PATCH))
#define LIBKNOT_VERSION_HEX ((LIBKNOT_VERSION_MAJOR << 16) | \
(LIBKNOT_VERSION_MINOR << 8) | \
(LIBKNOT_VERSION_PATCH))
/* End parsable section. */
/*! @} */
/*!
* \file version.h
*
* \author Ondřej Surý <ondrej.sury@nic.cz>
*
* \brief Convenience header with version number
*
* @{
*/
/* Copyright (C) 2011 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
/* Copyright (C) 2015 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -21,7 +12,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
*/
#pragma once
......@@ -29,14 +20,12 @@
* 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 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 LIBZSCANNER_VERSION_HEX ((LIBZSCANNER_VERSION_MAJOR << 16) | \
(LIBZSCANNER_VERSION_MINOR << 8) | \
(LIBZSCANNER_VERSION_PATCH))
#define LIBZSCANNER_VERSION_HEX ((LIBZSCANNER_VERSION_MAJOR << 16) | \
(LIBZSCANNER_VERSION_MINOR << 8) | \
(LIBZSCANNER_VERSION_PATCH))
/* End parsable section. */
/*! @} */
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