slackbuilds/system/memtest86/patches/memtest86+-5.01-reboot-def....

16 lines
326 B
Diff

http://forum.canardpc.com/threads/110952-fix-build-due-to-missing-reboot-symbol
the reboot func is used elsewhere, so don't mark it inline
--- a/lib.c
+++ b/lib.c
@@ -33,7 +33,7 @@ struct ascii_map_str {
int keycode;
};
-inline void reboot(void)
+void reboot(void)
{
/* tell the BIOS to do a cold start */