#include <stdio.h>
struct Arguments {
char x;
int max;
};
void *
function (void *arguments)
{
struct Arguments *arg = (struct Arguments *) arguments;
long int i;
for (i = 0; i < arg->max; i++)
{
}
return NULL;
}
int
main (void)
{
struct Arguments arg = {'x', 10};
function (&arg);
return (0);
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgpzdHJ1Y3QgQXJndW1lbnRzIHsKICAgIGNoYXIgeDsKICAgIGludCAgbWF4Owp9OwoKdm9pZCAqCmZ1bmN0aW9uICh2b2lkICphcmd1bWVudHMpCnsKICAgIHN0cnVjdCBBcmd1bWVudHMgKmFyZyA9IChzdHJ1Y3QgQXJndW1lbnRzICopIGFyZ3VtZW50czsKICAgIGxvbmcgaW50IGk7CiAgICBmb3IgKGkgPSAwOyBpIDwgYXJnLT5tYXg7IGkrKykKICAgICAgewogICAgICAgIHByaW50ZiAoIiVjIiwgYXJnLT54KTsKICAgICAgfQogICAgcmV0dXJuIE5VTEw7Cn0KCmludAptYWluICh2b2lkKQp7CiAgICBzdHJ1Y3QgQXJndW1lbnRzIGFyZyA9IHsneCcsIDEwfTsKICAgIGZ1bmN0aW9uICgmYXJnKTsKICAgIHByaW50ZiAoIlxuIik7CiAgICByZXR1cm4gKDApOwp9