mirror of
https://gitea.psi.ch/ELOG/mxml.git
synced 2026-09-09 01:23:22 +00:00
Create dummy routine to fix linker errors on empty library
This commit is contained in:
parent
cb34fe499c
commit
5f9886be00
@ -98,4 +98,9 @@ size_t strlcat(char *dst, const char *src, size_t size)
|
||||
|
||||
/*-------------------------------------------------------------------*/
|
||||
|
||||
#else
|
||||
size_t strlcpy_dummy(void) // dummy to avoid linker warnings
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif // STRLCPY_DEFINED
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user