OSDN Git Service

pc-bios/s390-ccw: Add a proper prototype for main()
authorThomas Huth <thuth@redhat.com>
Mon, 4 Jul 2022 11:18:52 +0000 (13:18 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 6 Jul 2022 16:33:26 +0000 (18:33 +0200)
commit2ba3cc47672a67a09ef64c5af2eca07fbf4cd21f
treedd4136b7aaa96d8aa1eba98e7c4d1c2e97efc154
parentf8333de27933b201b73a6c9830afbf1b48ac5dbe
pc-bios/s390-ccw: Add a proper prototype for main()

Older versions of Clang complain if there is no prototype for main().
Add one, and while we're at it, make sure that we use the same type
for main.c and netmain.c - since the return value does not matter,
declare the return type of main() as "void".

Message-Id: <20220704111903.62400-2-thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
pc-bios/s390-ccw/main.c
pc-bios/s390-ccw/s390-ccw.h