diff options
author | midipix <writeonce@midipix.org> | 2019-02-22 20:27:00 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-02-22 20:27:00 -0500 |
commit | 919f4260802aee4b33c8b3cf4413ce445a6d0c38 (patch) | |
tree | 8e2bb995da082fd1348a04398a016fe6d1b9e6fe /src/internal | |
parent | da69128010ca04de8be8d21f36ed85f8061c0270 (diff) | |
download | ntapi-919f4260802aee4b33c8b3cf4413ce445a6d0c38.tar.bz2 ntapi-919f4260802aee4b33c8b3cf4413ce445a6d0c38.tar.xz |
internals: explicitly apply internal visibility to the accessor table.
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/ntapi_impl.h | 6 |
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 */ |