summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-02 02:00:26 -0500
committermidipix <writeonce@midipix.org>2019-02-02 02:24:23 -0500
commit5539543092c89ff1d219585f11d3f9e5a0c8c74f (patch)
treea7a49d6a444b76336941f3b77cc0c1a504144dd8
parent8dfd039c3523e18a56819a2d01407f8d0726980d (diff)
downloadntapi-5539543092c89ff1d219585f11d3f9e5a0c8c74f.tar.bz2
ntapi-5539543092c89ff1d219585f11d3f9e5a0c8c74f.tar.xz
__ntapi_tt_seh_frame(): apply hidden visibility.
-rw-r--r--src/daemon/ntapi_dsr_init.c2
-rw-r--r--src/daemon/ntapi_dsr_internal_connection.c2
-rw-r--r--src/seh/nt32/ntapi_tt_seh_frame.s6
-rw-r--r--src/seh/nt64/ntapi_tt_seh_frame.s6
4 files changed, 2 insertions, 14 deletions
diff --git a/src/daemon/ntapi_dsr_init.c b/src/daemon/ntapi_dsr_init.c
index 539361b..702a20a 100644
--- a/src/daemon/ntapi_dsr_init.c
+++ b/src/daemon/ntapi_dsr_init.c
@@ -12,7 +12,7 @@
#include <ntapi/ntapi.h>
#include "ntapi_impl.h"
-int32_t __ntapi_tt_seh_frame(void *, void *, void *, int32_t (*)(nt_daemon_params *));
+int32_t __attr_hidden__ __ntapi_tt_seh_frame(void *, void *, void *, int32_t (*)(nt_daemon_params *));
static int32_t __stdcall __ntapi_dsr_once(nt_daemon_params * params);
diff --git a/src/daemon/ntapi_dsr_internal_connection.c b/src/daemon/ntapi_dsr_internal_connection.c
index 6e77d00..e440719 100644
--- a/src/daemon/ntapi_dsr_internal_connection.c
+++ b/src/daemon/ntapi_dsr_internal_connection.c
@@ -12,7 +12,7 @@
#include <ntapi/ntapi.h>
#include "ntapi_impl.h"
-int32_t __ntapi_tt_seh_frame(void *, void *, void *, int32_t (*)(nt_daemon_params *));
+int32_t __attr_hidden__ __ntapi_tt_seh_frame(void *, void *, void *, int32_t (*)(nt_daemon_params *));
static int32_t __ntapi_dsr_internal_client_connect_exit(
nt_daemon_params * params,
diff --git a/src/seh/nt32/ntapi_tt_seh_frame.s b/src/seh/nt32/ntapi_tt_seh_frame.s
index 661d690..bca2021 100644
--- a/src/seh/nt32/ntapi_tt_seh_frame.s
+++ b/src/seh/nt32/ntapi_tt_seh_frame.s
@@ -13,9 +13,3 @@
___ntapi_tt_seh_frame:
movl 16(%esp),%eax
jmp *%eax
-
- .section .got$___ntapi_tt_seh_frame,"r"
- .global __imp____ntapi_tt_seh_frame
-__imp____ntapi_tt_seh_frame:
- .long ___ntapi_tt_seh_frame
- .linkonce discard
diff --git a/src/seh/nt64/ntapi_tt_seh_frame.s b/src/seh/nt64/ntapi_tt_seh_frame.s
index 11e6aef..74ad099 100644
--- a/src/seh/nt64/ntapi_tt_seh_frame.s
+++ b/src/seh/nt64/ntapi_tt_seh_frame.s
@@ -35,9 +35,3 @@ __ntapi_tt_seh_frame:
ret
.seh_endproc
-
- .section .got$__ntapi_tt_seh_frame,"r"
- .global __imp___ntapi_tt_seh_frame
-__imp___ntapi_tt_seh_frame:
- .quad __ntapi_tt_seh_frame
- .linkonce discard