mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2025-12-06 03:26:45 +03:00
Fix warnings
This commit is contained in:
2
deps/cyclone/include/compiler_port.h
vendored
2
deps/cyclone/include/compiler_port.h
vendored
@@ -157,7 +157,7 @@ typedef unsigned int uint_t;
|
|||||||
#elif defined(__GNUC__)
|
#elif defined(__GNUC__)
|
||||||
int strcasecmp(const char *s1, const char *s2);
|
int strcasecmp(const char *s1, const char *s2);
|
||||||
int strncasecmp(const char *s1, const char *s2, size_t n);
|
int strncasecmp(const char *s1, const char *s2, size_t n);
|
||||||
#if !(_SVID_SOURCE || _BSD_SOURCE || _POSIX_C_SOURCE >= 1 || _XOPEN_SOURCE || _POSIX_SOURCE)
|
#if !(defined(_SVID_SOURCE) || defined(_BSD_SOURCE) || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 1) || defined(_XOPEN_SOURCE) || defined(_POSIX_SOURCE))
|
||||||
char *strtok_r(char *s, const char *delim, char **last);
|
char *strtok_r(char *s, const char *delim, char **last);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -75,8 +75,6 @@ static int analyze_sni_str(
|
|||||||
goto check_domain;
|
goto check_domain;
|
||||||
}
|
}
|
||||||
|
|
||||||
lgtrace_addp("abacaba");
|
|
||||||
|
|
||||||
// It is safe for multithreading, so dp mutability is ok
|
// It is safe for multithreading, so dp mutability is ok
|
||||||
ret = trie_process_str((struct trie_container *)§ion->sni_domains,
|
ret = trie_process_str((struct trie_container *)§ion->sni_domains,
|
||||||
(const uint8_t *)sni_name, sni_len, TRIE_OPT_MAP_TO_END, &offset, &offlen);
|
(const uint8_t *)sni_name, sni_len, TRIE_OPT_MAP_TO_END, &offset, &offlen);
|
||||||
|
|||||||
Reference in New Issue
Block a user