Procházet zdrojové kódy

mg_current_thread_id may be unused

bel před 8 roky
rodič
revize
39a43f1bdf
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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. */