2022-01-21 19:04:48 -05:00
|
|
|
#include <stdbool.h>
|
2022-01-20 18:06:56 -05:00
|
|
|
#include <stddef.h>
|
2022-01-18 12:24:50 -05:00
|
|
|
#include <stdint.h>
|
2022-01-21 19:04:48 -05:00
|
|
|
#include <stdlib.h>
|
2022-01-18 12:24:50 -05:00
|
|
|
|
|
|
|
#include <kernaux.h>
|
2022-01-18 08:03:19 -05:00
|
|
|
#include <ruby.h>
|
|
|
|
|
2022-01-22 16:10:47 -05:00
|
|
|
void init_assert();
|
2022-01-22 16:17:39 -05:00
|
|
|
void init_ntoa();
|
2022-01-21 19:14:23 -05:00
|
|
|
#ifdef HAVE_KERNAUX_CMDLINE
|
|
|
|
void init_cmdline();
|
|
|
|
#endif // HAVE_KERNAUX_CMDLINE
|
2022-06-07 14:37:34 -04:00
|
|
|
#ifdef HAVE_KERNAUX_FILE_CREATE
|
|
|
|
void init_file();
|
|
|
|
#endif // HAVE_KERNAUX_FILE_CREATE
|
2022-06-07 14:30:52 -04:00
|
|
|
#ifdef HAVE_KERNAUX_SNPRINTF
|
|
|
|
void init_printf();
|
|
|
|
#endif // HAVE_KERNAUX_SNPRINTF
|
2022-01-21 19:14:23 -05:00
|
|
|
|
2022-01-18 11:47:09 -05:00
|
|
|
void Init_default()
|
2022-01-18 08:03:19 -05:00
|
|
|
{
|
2022-01-22 16:10:47 -05:00
|
|
|
init_assert();
|
2022-01-22 16:17:39 -05:00
|
|
|
init_ntoa();
|
2022-01-21 19:14:23 -05:00
|
|
|
#ifdef HAVE_KERNAUX_CMDLINE
|
|
|
|
init_cmdline();
|
|
|
|
#endif // HAVE_KERNAUX_CMDLINE
|
2022-06-07 14:37:34 -04:00
|
|
|
#ifdef HAVE_KERNAUX_FILE_CREATE
|
|
|
|
init_file();
|
|
|
|
#endif // HAVE_KERNAUX_FILE_CREATE
|
2022-06-07 14:30:52 -04:00
|
|
|
#ifdef HAVE_KERNAUX_SNPRINTF
|
|
|
|
init_printf();
|
|
|
|
#endif // HAVE_KERNAUX_SNPRINTF
|
2022-01-18 08:03:19 -05:00
|
|
|
}
|