genode/repos/libports/src/lib/libc/atexit.cc

25 lines
518 B
C++
Raw Normal View History

2011-12-22 16:19:25 +01:00
/*
* \brief C-library back end
* \author Christian Prochaska
* \date 2009-07-20
*/
/*
2013-01-10 21:44:47 +01:00
* Copyright (C) 2009-2013 Genode Labs GmbH
2011-12-22 16:19:25 +01:00
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
extern void genode_atexit(void (*func)(void));
extern "C" void atexit(void (*func)(void))
{
genode_atexit(func);
}
extern void genode___cxa_finalize(void *dso);
extern "C" void __cxa_finalize(void *dso)
{
genode___cxa_finalize(dso);
}