diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-01 21:08:56 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-01 21:08:56 +0000 |
commit | 6bd29cb2e3c9dfedee2cbd73a324eaef76c292ae (patch) | |
tree | a99511f64eea990fb7d0f9595cc4933608fc8567 /nuttx/libxx/libxx_cxa_atexit.cxx | |
parent | 43f7ddc7d410a4982ec78cc45cc413a3270d1b52 (diff) | |
download | px4-nuttx-6bd29cb2e3c9dfedee2cbd73a324eaef76c292ae.tar.gz px4-nuttx-6bd29cb2e3c9dfedee2cbd73a324eaef76c292ae.tar.bz2 px4-nuttx-6bd29cb2e3c9dfedee2cbd73a324eaef76c292ae.zip |
uClibc++ compiles... but it is a long way from linking
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5293 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/libxx/libxx_cxa_atexit.cxx')
-rw-r--r-- | nuttx/libxx/libxx_cxa_atexit.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/libxx/libxx_cxa_atexit.cxx b/nuttx/libxx/libxx_cxa_atexit.cxx index 7e6d00a37..cd31f94f6 100644 --- a/nuttx/libxx/libxx_cxa_atexit.cxx +++ b/nuttx/libxx/libxx_cxa_atexit.cxx @@ -130,6 +130,9 @@ extern "C" { // Register the function to be called when the task/thread exists. + alloc->func = func; + alloc->arg = arg; + return on_exit(__cxa_callback, alloc); } else |