Browse Source

mg_current_thread_id may be unused

bel 8 năm trước cách đây
mục cha
commit
39a43f1bdf
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/civetweb.c

+ 1 - 0
src/civetweb.c

@@ -1083,6 +1083,7 @@ struct mg_workerTLS {
 /* Show no warning in case system functions are not used. */
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wunused-function"
+static unsigned long mg_current_thread_id(void) __attribute__((unused));
 #endif
 #if defined(__clang__)
 /* Show no warning in case system functions are not used. */