소스 검색

do not define variables in headers!

Sergey Alirzaev 5 년 전
부모
커밋
126dbc8e72
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      thirdparty/lwip/src/include/lwip/errno.h

+ 1 - 2
thirdparty/lwip/src/include/lwip/errno.h

@@ -174,8 +174,7 @@ extern "C" {
 #define  EMEDIUMTYPE    124  /* Wrong medium type */
 
 #ifndef errno
-//extern int errno;
-static int errno;
+extern int errno;
 #endif
 
 #else /* LWIP_PROVIDE_ERRNO */