1245655Sandrew/*
2245655Sandrew * Copyright (C) 2012 Andrew Turner
3245655Sandrew * All rights reserved.
4245655Sandrew *
5245655Sandrew * Redistribution and use in source and binary forms, with or without
6245655Sandrew * modification, are permitted provided that the following conditions
7245655Sandrew * are met:
8245655Sandrew * 1. Redistributions of source code must retain the above copyright
9245655Sandrew *    notice, this list of conditions and the following disclaimer.
10245655Sandrew * 2. Redistributions in binary form must reproduce the above copyright
11245655Sandrew *    notice, this list of conditions and the following disclaimer in the
12245655Sandrew *    documentation and/or other materials provided with the distribution.
13245655Sandrew *
14245655Sandrew * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15245655Sandrew * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16245655Sandrew * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17245655Sandrew * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18245655Sandrew * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19245655Sandrew * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20245655Sandrew * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21245655Sandrew * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22245655Sandrew * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23245655Sandrew * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24245655Sandrew * SUCH DAMAGE.
25245655Sandrew *
26245655Sandrew */
27245655Sandrew
28245655Sandrew#include <sys/cdefs.h>
29245655Sandrew__FBSDID("$FreeBSD$");
30245655Sandrew
31245655Sandrewint __cxa_atexit(void (*)(void *), void *, void *);
32245655Sandrew
33245655Sandrewint
34245655Sandrew__aeabi_atexit(void *object, void (*func)(void*), void *dso)
35245655Sandrew{
36245655Sandrew	return __cxa_atexit(func, object, dso);
37245655Sandrew}
38245655Sandrew
39