]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
COCCI: disable DOWLOAD_SCHEDULE macro
authorNick Mathewson <nickm@torproject.org>
Tue, 22 Oct 2019 13:31:31 +0000 (09:31 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 22 Oct 2019 13:31:31 +0000 (09:31 -0400)
src/app/config/config.c

index 93cf5427cd788221bb9ebd1eec58b5b5e86f2069..f6eae6e97b30d9a57d6ce78a1b000ae1c26b0483 100644 (file)
@@ -186,8 +186,12 @@ static const char unix_q_socket_prefix[] = "unix:\"";
 
 /** macro to help with the bulk rename of *DownloadSchedule to
  * *DowloadInitialDelay . */
+#ifndef COCCI
 #define DOWNLOAD_SCHEDULE(name) \
   { #name "DownloadSchedule", #name "DownloadInitialDelay", 0, 1 }
+#else
+#define DOWNLOAD_SCHEDULE(name) { NULL, NULL, 0, 1 }
+#endif
 
 /** A list of abbreviations and aliases to map command-line options, obsolete
  * option names, or alternative option names, to their current values. */