µOS++ IIIe Reference
7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
init-fini.c
Go to the documentation of this file.
1
/*
2
* This file is part of the µOS++ project (https://micro-os-plus.github.io/).
3
* Copyright (c) 2015-2025 Liviu Ionescu. All rights reserved.
4
*
5
* Permission to use, copy, modify, and/or distribute this software
6
* for any purpose is hereby granted, under the terms of the MIT license.
7
*
8
* If a copy of the license was not distributed with this file, it can
9
* be obtained from https://opensource.org/licenses/mit.
10
*/
11
12
// Empty initialisations. Normally should not be used, but if so,
13
// they must be used as a pair, and the startup code and linker
14
// script must be updated.
15
16
#pragma GCC diagnostic push
17
#if defined(__clang__)
18
#pragma clang diagnostic ignored "-Wreserved-identifier"
19
#elif defined(__GNUC__)
20
#pragma GCC diagnostic ignored "-Wmissing-prototypes"
21
#endif
22
23
void
24
_init
(
void
);
25
26
void
27
_fini
(
void
);
28
29
void
__attribute__ ((weak))
30
_init
(
void
)
31
{
32
}
33
34
void
__attribute__ ((weak))
35
_fini
(
void
)
36
{
37
}
38
39
#pragma GCC diagnostic pop
40
41
// ----------------------------------------------------------------------------
_fini
void _fini(void)
Definition
init-fini.c:35
_init
void _init(void)
Definition
init-fini.c:30
src
libc
stdlib
init-fini.c
Generated by
1.9.7