summaryrefslogtreecommitdiff
path: root/libpicosdk/atexit.c
blob: ea26c85b88e015635aab7ad432d660eb711e2d16 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* libpicosdk/atexit.c - Remove newlib atexit() machinery
 *
 * Copyright (C) 2025  Luke T. Shumaker <lukeshu@lukeshu.com>
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

/* pico_clib_interface/newlib_interface.c arranges to never call
 * exitprocs, so let's remove the installation machinery.  */
int __wrap_atexit (void (*fn) (void)) {
	return 0;
}