File: static-syms.c

package info (click to toggle)
iproute2 5.10.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 6,880 kB
  • sloc: ansic: 107,211; sh: 1,338; cpp: 932; makefile: 654; yacc: 421; lex: 145
file content (15 lines) | stat: -rw-r--r-- 287 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * This file creates a dummy version of dynamic loading
 * for environments where dynamic linking
 * is not used or available.
 */

#include <string.h>
#include "dlfcn.h"

void *_dlsym(const char *sym)
{
#include "static-syms.h"
	return NULL;
}