/*
 * This file is part of the µOS++ project (https://micro-os-plus.github.io/).
 * Copyright (c) 2023-2026 Liviu Ionescu. All rights reserved.
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose is hereby granted, under the terms of the MIT license.
 *
 * If a copy of the license was not distributed with this file, it can be
 * obtained from https://opensource.org/licenses/mit.
 */

// ----------------------------------------------------------------------------

void
_init (void);

void
_fini (void);

// ----------------------------------------------------------------------------

// Newlib calls `_fini()` in `__libc_fini_array`; `_init()` was
// added for completeness.

// libg.a(libc_a-fini.o): in function `__libc_fini_array':
// (.text.__libc_fini_array+0x1c): undefined reference to `_fini'

__attribute__ ((weak)) void
_init (void)
{
}

__attribute__ ((weak)) void
_fini (void)
{
}

// ----------------------------------------------------------------------------
