ZBarcode_Create() -> ZBarcode_Create(void)

Signed-off-by: bijian <bijian@xiaomi.com>
This commit is contained in:
bijian 2021-11-25 15:28:20 +08:00
parent 6251d05743
commit f761746011

View File

@ -47,7 +47,7 @@
typedef int static_assert_int_at_least_32bits[CHAR_BIT != 8 || sizeof(int) < 4 ? -1 : 1]; typedef int static_assert_int_at_least_32bits[CHAR_BIT != 8 || sizeof(int) < 4 ? -1 : 1];
/* Create and initialize a symbol structure */ /* Create and initialize a symbol structure */
struct zint_symbol *ZBarcode_Create() { struct zint_symbol *ZBarcode_Create(void) {
struct zint_symbol *symbol; struct zint_symbol *symbol;
symbol = (struct zint_symbol *) calloc(1, sizeof(*symbol)); symbol = (struct zint_symbol *) calloc(1, sizeof(*symbol));