]> xenbits.xensource.com Git - people/andrewcoop/seabios.git/commitdiff
coreboot: Minor - avoid K&R style function declaration
authorKevin O'Connor <kevin@koconnor.net>
Sun, 18 Oct 2015 15:24:54 +0000 (11:24 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 24 Oct 2015 12:09:46 +0000 (08:09 -0400)
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/fw/coreboot.c

index a47f524246782845d12e8f0aee299ac44a5a86cc..3b9df142930a6a098d0d3e670d12bca32881e5bc 100644 (file)
@@ -506,7 +506,7 @@ cbfs_run_payload(struct cbfs_file *fhdr)
             break;
         case PAYLOAD_SEGMENT_ENTRY: {
             dprintf(1, "Calling addr %p\n", dest);
-            void (*func)() = dest;
+            void (*func)(void) = dest;
             func();
             return;
         }