1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2024-11-13 11:04:27 -05:00
libkernaux/tests/multiboot2_info_print2.c

23 lines
389 B
C
Raw Normal View History

2020-12-06 23:47:53 -05:00
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
2020-11-29 07:57:34 -05:00
#include <kernaux/multiboot2.h>
#include <assert.h>
#include <stdio.h>
#include "multiboot2_example2.h"
2020-11-29 07:57:34 -05:00
int main()
{
assert(KernAux_Multiboot2_is_valid(&multiboot2_example2.multiboot2));
2020-11-29 07:57:34 -05:00
KernAux_Multiboot2_print(
&multiboot2_example2.multiboot2,
2020-11-29 07:57:34 -05:00
(void (*)(const char *format, ...))printf
);
return 0;
}