tc/static-syms.c
raw| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * This file creates a dummy version of dynamic loading |
| 4 | * for environments where dynamic linking |
| 5 | * is not used or available. |
| 6 | */ |
| 7 | |
| 8 | #include <string.h> |
| 9 | #include "dlfcn.h" |
| 10 | |
| 11 | void *_dlsym(const char *sym) |
| 12 | { |
| 13 | #include "static-syms.h" |
| 14 | return NULL; |
| 15 | } |