coreinfo/coreinfo.c: Correct main function signature
commitbd62472f76caa691b79084c060955b633fa4fe02
authorJacob Garber <jgarber1@ualberta.ca>
Wed, 2 Oct 2019 20:44:28 +0000 (2 14:44 -0600)
committerPatrick Georgi <pgeorgi@google.com>
Tue, 4 Feb 2020 16:11:58 +0000 (4 16:11 +0000)
tree54962af7fa58647d0883df9fab954fc64dd0ac2a
parent94e5ceea8c40e8fd17a9d07ce5bf577e61e3fd33
coreinfo/coreinfo.c: Correct main function signature

libpayload passes argc and argv to main(), and ignoring these arguments
causes a compile time error when using LTO.

Change-Id: I5d2b30158ebabe1d1534a9684874018483ad769b
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38292
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
payloads/coreinfo/coreinfo.c