summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-22 20:27:00 -0500
committermidipix <writeonce@midipix.org>2019-02-22 20:27:00 -0500
commit919f4260802aee4b33c8b3cf4413ce445a6d0c38 (patch)
tree8e2bb995da082fd1348a04398a016fe6d1b9e6fe /src
parentda69128010ca04de8be8d21f36ed85f8061c0270 (diff)
downloadntapi-919f4260802aee4b33c8b3cf4413ce445a6d0c38.tar.bz2
ntapi-919f4260802aee4b33c8b3cf4413ce445a6d0c38.tar.xz
internals: explicitly apply internal visibility to the accessor table.
Diffstat (limited to 'src')
-rw-r--r--src/internal/ntapi_impl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/internal/ntapi_impl.h b/src/internal/ntapi_impl.h
index eb24dee..2c2d162 100644
--- a/src/internal/ntapi_impl.h
+++ b/src/internal/ntapi_impl.h
@@ -131,9 +131,9 @@ union __ntapi_img_rdata {
/* accessor table */
-extern ntapi_vtbl ___ntapi;
-extern ntapi_vtbl ___ntapi_shadow;
-#define __ntapi (&___ntapi)
+extern __attr_protected__ ntapi_vtbl ___ntapi;
+extern __attr_protected__ ntapi_vtbl ___ntapi_shadow;
+#define __ntapi (&___ntapi)
/* access to library internals */