Commit 796a34d1 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

make: config -- Drop unneeded code from tests

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Tested-by: 's avatarRuslan Kuprieiv <kupruser@gmail.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 4d279b09
......@@ -36,10 +36,7 @@ define STRLCPY_TEST
int main(void)
{
char src[32] = "strlcpy";
char dst[32];
return strlcpy(dst, src, sizeof(dst));
return strlcpy(NULL, NULL, 0);
}
endef
......@@ -49,10 +46,7 @@ define STRLCAT_TEST
int main(void)
{
char src[32] = "strlcat";
char dst[32];
return strlcat(dst, src, sizeof(dst));
return strlcat(NULL, NULL, 0);
}
endef
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment