Commit 275f7d7d authored by Vicențiu Ciorbaru's avatar Vicențiu Ciorbaru

Remove warning in my_addr_resolve

ISO C90 does not allow mixed declarations and code.
parent b2bd10d4
......@@ -153,13 +153,14 @@ int my_addr_resolve(void *ptr, my_addr_loc *loc)
fd_set set;
struct timeval timeout;
FD_ZERO(&set);
FD_SET(out[0], &set);
int filename_start = -1;
int line_number_start = -1;
ssize_t i;
FD_ZERO(&set);
FD_SET(out[0], &set);
len= my_snprintf(input, sizeof(input), "%p\n", ptr - offset);
if (write(in[1], input, len) <= 0)
return 1;
......
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