Procházet zdrojové kódy

Added declaration to avoid warning C4115 (named type definition in parentheses) issued by Visual Studio 2012.

nullable.type před 12 roky
rodič
revize
6eec552ea4
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      mongoose.c

+ 2 - 0
mongoose.c

@@ -146,6 +146,8 @@ static int pthread_mutex_lock(pthread_mutex_t *);
 static int pthread_mutex_unlock(pthread_mutex_t *);
 
 static void to_unicode(const char *path, wchar_t *wbuf, size_t wbuf_len);
+
+struct file;
 static char *mg_fgets(char *buf, size_t size, struct file *filep, char **p);
 
 #if defined(HAVE_STDINT)