--- a/src/tosmarking.c      2020-05-21 14:56:31.095000000 +0900
+++ b/src/tosmarking.c      2020-05-21 14:58:11.720000000 +0900
@@ -36,11 +36,11 @@
 /* private, local. those are not the same as the vars with the same name */
 int tosmarking_enabled;
 SOCKET sock_child_out;
-int TOSFlagsDefault;
-int TOSFlagsDiff;
-const t_ut_urltable *tos_markasdiff_url;
-const t_ct_cttable *tos_maskasdiff_ct;
-ZP_DATASIZE_TYPE TOSMarkAsDiffSizeBT;
+extern int TOSFlagsDefault;
+extern int TOSFlagsDiff;
+extern const t_ut_urltable *tos_markasdiff_url;
+extern const t_ct_cttable *tos_maskasdiff_ct;
+extern ZP_DATASIZE_TYPE TOSMarkAsDiffSizeBT;

 int current_tos;
 ZP_DATASIZE_TYPE tos_bytecount;        /* counter used by TOSMarkAsDiffSizeBT */
