Merge pull request #1535 from bkozak-scanimetrics/fix_strcasecmp_warning
Fix warning about missing strcasecmp definition
This commit is contained in:
commit
223a69cef5
|
@ -111,6 +111,9 @@ strcasecmp(const char *s1, const char *s2)
|
||||||
/* TODO: Add case support! */
|
/* TODO: Add case support! */
|
||||||
return strcmp(s1, s2);
|
return strcmp(s1, s2);
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
int strcasecmp(const char *s1, const char *s2);
|
||||||
|
int strncasecmp(const char *s1, const char *s2, size_t n);
|
||||||
#endif /* __SDCC */
|
#endif /* __SDCC */
|
||||||
|
|
||||||
#define UIP_UDP_BUF ((struct uip_udpip_hdr *)&uip_buf[UIP_LLH_LEN])
|
#define UIP_UDP_BUF ((struct uip_udpip_hdr *)&uip_buf[UIP_LLH_LEN])
|
||||||
|
|
Loading…
Reference in a new issue