1 /* $Id: load.c,v 1.13 2020-10-18 21:20:53 phil Exp $ */
2 
3 /*
4  * dummy functions for LOAD/LINK/UNLOAD
5  * (now a worker for loadx.c)
6  */
7 
8 #ifdef HAVE_CONFIG_H
9 #include "config.h"
10 #endif /* HAVE_CONFIG_H defined */
11 
12 #include <stdio.h>
13 
14 #include "h.h"
15 #include "snotypes.h"
16 #include "macros.h"
17 #include "lib.h"
18 
19 void *
os_load_library(const char * file)20 os_load_library(const char *file) {
21     (void) file;
22     return NULL;
23 }
24 
25 void *
os_find_symbol(void * lib,const char * func,void ** stash)26 os_find_symbol(void *lib, const char *func, void **stash) {
27     (void) lib;
28     (void) func;
29     (void) stash;
30     return NULL;
31 }
32 
33 void
os_unload_function(const char * name,void * stash)34 os_unload_function(const char *name, void *stash) {
35     (void) name;
36     (void) stash;
37 }
38 
39 void
os_unload_library(void * lib)40 os_unload_library(void *lib) {
41     (void) lib;
42 }
43