configurator: Replace unlink with remove
authorKevin Locke <kevin@kevinlocke.name>
Fri, 23 Sep 2016 03:33:04 +0000 (21:33 -0600)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 27 Sep 2016 05:39:45 +0000 (15:39 +1000)
commit891b43ea4b6d09db68ee83f7086b5673e2806733
treee023417780af3de09f0fd6db42f76ed491eac0b6
parent82cdf817001422b742abbefa30fd540bb2a49ec4
configurator: Replace unlink with remove

Although Windows provides unlink, using it adds complication due to the
lack of unistd.h which must be included to define the function on POSIX
systems.  Instead, use remove, which C89 requires to be in stdio.h.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
tools/configurator/configurator.c