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