projects/aports·blob master · refs

25 lines · 527 B

1diff --git a/barcode.h b/barcode.h
2index ed90e0c..ff7b8b4 100644
3--- a/barcode.h
4+++ b/barcode.h
5@@ -123,6 +123,6 @@ extern int Barcode_Version(char *versionname);
6 }
7 #endif
8
9-int streaming;
10+extern int streaming;
11
12 #endif /* _BARCODE_H_ */
13diff --git a/library.c b/library.c
14index 30946ff..5390a2b 100644
15--- a/library.c
16+++ b/library.c
17@@ -30,6 +30,8 @@
18 #endif
19 #include <errno.h>
20
21+int streaming;
22+
23 /*
24 * This function allocates a barcode structure and strdup()s the
25 * text string. It returns NULL in case of error