// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) /* * libfdt - Flat Device Tree manipulation * Copyright (C) 2006 David Gibson, IBM Corporation. * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "libfdt_env.h" #include <fdt.h> #include <libfdt.h> #include "libfdt_internal.h" struct fdt_errtabent { … }; #define FDT_ERRTABENT(val) … static struct fdt_errtabent fdt_errtable[] = …; #define FDT_ERRTABSIZE … const char *fdt_strerror(int errval) { … }