Oh, this won't fly in C89. The `target` variable must be declared at the top of the function before any statements.