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
Linux/PPC specific version.
[glibc.git]
/
elf
/
dep2.c
blob
9dc5cfcf55dc3df521248a4b616b5405aa4568b9
1
#include <unistd.h>
2
3
extern
int
dep3
(
void
);
4
extern
int
dep4
(
void
);
5
6
static void
7
__attribute__
((
constructor
))
8
init
(
void
)
9
{
10
write
(
1
,
"2"
,
1
);
11
}
12
13
static void
14
__attribute__
((
destructor
))
15
fini
(
void
)
16
{
17
write
(
1
,
"7"
,
1
);
18
}
19
20
int
21
dep2
(
void
)
22
{
23
return
dep3
() -
dep4
();
24
}