From e8bde7f4c3204da4108c20920a4d70592a74dac9 Mon Sep 17 00:00:00 2001 From: gitlost Date: Wed, 27 Oct 2021 19:05:57 +0100 Subject: [PATCH] ZBarcode_Version() -> ZBarcode_Version(void) --- backend/library.c | 2 +- backend/zint.h | 2 +- docs/manual.txt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/library.c b/backend/library.c index e18131ea..5008cf67 100644 --- a/backend/library.c +++ b/backend/library.c @@ -1456,7 +1456,7 @@ unsigned int ZBarcode_Cap(int symbol_id, unsigned int cap_flag) { } /* Return the version of Zint linked to */ -int ZBarcode_Version() { +int ZBarcode_Version(void) { if (ZINT_VERSION_BUILD) { return (ZINT_VERSION_MAJOR * 10000) + (ZINT_VERSION_MINOR * 100) + ZINT_VERSION_RELEASE * 10 + ZINT_VERSION_BUILD; diff --git a/backend/zint.h b/backend/zint.h index 1cb6e3b3..2e4b3619 100644 --- a/backend/zint.h +++ b/backend/zint.h @@ -407,7 +407,7 @@ extern "C" { ZINT_EXTERN unsigned int ZBarcode_Cap(int symbol_id, unsigned int cap_flag); /* Return the version of Zint linked to */ - ZINT_EXTERN int ZBarcode_Version(); + ZINT_EXTERN int ZBarcode_Version(void); #ifdef __cplusplus } diff --git a/docs/manual.txt b/docs/manual.txt index ba4cad5e..2b5f9e5e 100644 --- a/docs/manual.txt +++ b/docs/manual.txt @@ -1561,7 +1561,7 @@ if (cap & ZINT_CAP_ECI) { ----------------- Lastly, the version of the Zint library linked to is returned by: -int ZBarcode_Version(); +int ZBarcode_Version(void); The version parts are separated by hundreds. For instance, version "2.9.1" is returned as "20901". @@ -1820,7 +1820,7 @@ setting option_2 = 1 or using --vers=1. A variation of Extended Code 39, Code 93 also supports full ASCII text. Two check characters are added by Zint. By default these check characters are not shown in the Human Readable Text, but may be shown by setting option_2 = 1 or -using vers=1. +using --vers=1. 6.1.8.4 PZN (Pharmazentralnummer) ---------------------------------