repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* cp-tree.h (struct lang_decl_flags): Add comdat.
[official-gcc.git]
/
libiberty
/
atexit.c
blob
4463cb6950184a79a9bf77c31424edfaa07c9164
1
/* Wrapper to implement ANSI C's atexit using SunOS's on_exit. */
2
/* This function is in the public domain. --Mike Stump. */
3
4
#ifndef NEED_on_exit
5
int
6
atexit
(
f
)
7
void
(*
f
)();
8
{
9
/* If the system doesn't provide a definition for atexit, use on_exit
10
if the system provides that. */
11
on_exit
(
f
,
0
);
12
return
0
;
13
}
14
#endif