1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-17 22:15:17 +03:00
aports/testing/barcode/common.patch
psykose c5dfb0299b testing/barcode: modernise
- no common
- remove info file
2023-01-03 14:55:46 +01:00

25 lines
527 B
Diff

diff --git a/barcode.h b/barcode.h
index ed90e0c..ff7b8b4 100644
--- a/barcode.h
+++ b/barcode.h
@@ -123,6 +123,6 @@ extern int Barcode_Version(char *versionname);
}
#endif
-int streaming;
+extern int streaming;
#endif /* _BARCODE_H_ */
diff --git a/library.c b/library.c
index 30946ff..5390a2b 100644
--- a/library.c
+++ b/library.c
@@ -30,6 +30,8 @@
#endif
#include <errno.h>
+int streaming;
+
/*
* This function allocates a barcode structure and strdup()s the
* text string. It returns NULL in case of error