mirror of
https://github.com/open-simh/simh.git
synced 2026-01-26 04:02:39 +00:00
Revised the socket library sim_sock(.c & .h) to support both IPv4 and IPv6 leveraging the RFC3493 APIs.
All dependent code has been updated to use the revised interfaces.
This commit is contained in:
@@ -942,7 +942,7 @@ static char* (*p_pcap_lib_version) (void);
|
||||
/* load function pointer from DLL */
|
||||
typedef int (*_func)();
|
||||
|
||||
void load_function(char* function, _func* func_ptr) {
|
||||
static void load_function(char* function, _func* func_ptr) {
|
||||
#ifdef _WIN32
|
||||
*func_ptr = (_func)GetProcAddress(hLib, function);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user