Move kill_nic definition before its first use
Merge pull request #209 from vuntz/declare-kill_nic-earlier

Move kill_nic definition before its first use