mirror of
https://github.com/tailix/libkernaux.git
synced 2024-11-13 11:04:27 -05:00
25 lines
452 B
C
25 lines
452 B
C
|
#ifdef HAVE_CONFIG_H
|
||
|
#include "config.h"
|
||
|
#endif
|
||
|
|
||
|
#include <kernaux/multiboot2.h>
|
||
|
|
||
|
#include <assert.h>
|
||
|
#include <stdio.h>
|
||
|
|
||
|
#include "multiboot2_header_example2.h"
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
assert(KernAux_Multiboot2_Header_is_valid(
|
||
|
&multiboot2_header_example2.multiboot2_header
|
||
|
));
|
||
|
|
||
|
KernAux_Multiboot2_Header_print(
|
||
|
&multiboot2_header_example2.multiboot2_header,
|
||
|
(void (*)(const char *format, ...))printf
|
||
|
);
|
||
|
|
||
|
return 0;
|
||
|
}
|