repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix cexpl when compiled with latest GCC
[glibc.git]
/
elf
/
tst-initorder2.c
blob
050f9568b807962a098f158c6dd7222e94c3d1ed
1
#include <stdio.h>
2
3
#ifndef NAME
4
int
5
main
(
void
)
6
{
7
puts
(
"main"
);
8
}
9
#else
10
static void
__attribute__
((
constructor
))
11
init
(
void
)
12
{
13
puts
(
"init: "
NAME
);
14
}
15
static void
__attribute__
((
destructor
))
16
fini
(
void
)
17
{
18
puts
(
"fini: "
NAME
);
19
}
20
#endif