mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 13:30:57 +03:00
Move header file for usr/autoboot.c to include/usr
This commit is contained in:
@@ -1,18 +1,22 @@
|
||||
#include <vsprintf.h>
|
||||
#include <gpxe/command.h>
|
||||
#include <gpxe/autoboot.h>
|
||||
#include <usr/autoboot.h>
|
||||
|
||||
static int boot_exec ( int argc, char **argv ) {
|
||||
|
||||
if ( argc != 1 ) {
|
||||
printf ( "Usage: %s\n"
|
||||
"Attempts to boot the system\n", argv[0] );
|
||||
printf ( "Usage:\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"Attempts to boot the system\n",
|
||||
argv[0] );
|
||||
return 1;
|
||||
}
|
||||
|
||||
autoboot();
|
||||
|
||||
return 0;
|
||||
/* Can never return success by definition */
|
||||
return 1;
|
||||
}
|
||||
|
||||
struct command boot_command __command = {
|
||||
|
||||
Reference in New Issue
Block a user