diff options
author | midipix <writeonce@midipix.org> | 2019-02-22 22:53:39 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-02-22 23:05:58 -0500 |
commit | 766a639b263460187852043816a4ed06920e624b (patch) | |
tree | 57e199aec98c27a9fe1687bae18a863709831417 /src/string | |
parent | 919f4260802aee4b33c8b3cf4413ce445a6d0c38 (diff) | |
download | ntapi-766a639b263460187852043816a4ed06920e624b.tar.bz2 ntapi-766a639b263460187852043816a4ed06920e624b.tar.xz |
internals: explicitly attribute protected visibility to all interfaces.
Diffstat (limited to 'src/string')
-rw-r--r-- | src/string/ntapi_tt_aligned_block_memcpy.c | 2 | ||||
-rw-r--r-- | src/string/ntapi_tt_aligned_block_memlock.c | 1 | ||||
-rw-r--r-- | src/string/ntapi_tt_aligned_block_memset.c | 1 | ||||
-rw-r--r-- | src/string/ntapi_tt_aligned_memcpy_utf16.c | 1 | ||||
-rw-r--r-- | src/string/ntapi_tt_dec_utf16_to_uintptr.c | 1 | ||||
-rw-r--r-- | src/string/ntapi_tt_hex_utf16_to_uintptr.c | 1 | ||||
-rw-r--r-- | src/string/ntapi_tt_memcpy_utf16.c | 1 | ||||
-rw-r--r-- | src/string/ntapi_tt_strcmp_multibyte.c | 1 | ||||
-rw-r--r-- | src/string/ntapi_tt_strcmp_utf16.c | 1 | ||||
-rw-r--r-- | src/string/ntapi_tt_strncmp_multibyte.c | 1 | ||||
-rw-r--r-- | src/string/ntapi_tt_strncmp_utf16.c | 1 | ||||
-rw-r--r-- | src/string/ntapi_tt_uintptr_to_dec.c | 1 | ||||
-rw-r--r-- | src/string/ntapi_tt_uintptr_to_hex_utf16.c | 4 | ||||
-rw-r--r-- | src/string/ntapi_tt_uintptr_to_hex_utf8.c | 1 |
14 files changed, 18 insertions, 0 deletions
diff --git a/src/string/ntapi_tt_aligned_block_memcpy.c b/src/string/ntapi_tt_aligned_block_memcpy.c index ea239a7..dda33b6 100644 --- a/src/string/ntapi_tt_aligned_block_memcpy.c +++ b/src/string/ntapi_tt_aligned_block_memcpy.c @@ -7,6 +7,7 @@ #include <psxtypes/psxtypes.h> #include <ntapi/nt_string.h> +__attr_protected__ uintptr_t * __cdecl __ntapi_tt_aligned_block_memcpy( __in uintptr_t * dst, __in uintptr_t * src, @@ -21,6 +22,7 @@ uintptr_t * __cdecl __ntapi_tt_aligned_block_memcpy( } +__attr_protected__ void * __cdecl __ntapi_tt_generic_memcpy( __in void * dst, __in const void * src, diff --git a/src/string/ntapi_tt_aligned_block_memlock.c b/src/string/ntapi_tt_aligned_block_memlock.c index 5aa3a7e..17fb078 100644 --- a/src/string/ntapi_tt_aligned_block_memlock.c +++ b/src/string/ntapi_tt_aligned_block_memlock.c @@ -9,6 +9,7 @@ #include <ntapi/nt_sync.h> #include <ntapi/nt_atomic.h> +__attr_protected__ uintptr_t * __cdecl __ntapi_tt_aligned_block_memlock( __in uintptr_t * dst, __in size_t bytes) diff --git a/src/string/ntapi_tt_aligned_block_memset.c b/src/string/ntapi_tt_aligned_block_memset.c index 820bd61..2be00a7 100644 --- a/src/string/ntapi_tt_aligned_block_memset.c +++ b/src/string/ntapi_tt_aligned_block_memset.c @@ -5,6 +5,7 @@ /********************************************************/ #include <psxtypes/psxtypes.h> +#include "ntapi_impl.h" void * __cdecl __ntapi_tt_aligned_block_memset( __in void * block, diff --git a/src/string/ntapi_tt_aligned_memcpy_utf16.c b/src/string/ntapi_tt_aligned_memcpy_utf16.c index 474c8e4..60c02be 100644 --- a/src/string/ntapi_tt_aligned_memcpy_utf16.c +++ b/src/string/ntapi_tt_aligned_memcpy_utf16.c @@ -6,6 +6,7 @@ #include <psxtypes/psxtypes.h> +__attr_protected__ wchar16_t * __cdecl __ntapi_tt_aligned_memcpy_utf16( __in uintptr_t * dst, __in uintptr_t * src, diff --git a/src/string/ntapi_tt_dec_utf16_to_uintptr.c b/src/string/ntapi_tt_dec_utf16_to_uintptr.c index 93f0967..3e9b85d 100644 --- a/src/string/ntapi_tt_dec_utf16_to_uintptr.c +++ b/src/string/ntapi_tt_dec_utf16_to_uintptr.c @@ -6,6 +6,7 @@ #include <psxtypes/psxtypes.h> #include <ntapi/nt_status.h> +#include "ntapi_impl.h" static int32_t __tt_dec_utf16_to_uint64( __in const wchar16_t * wch_arg, diff --git a/src/string/ntapi_tt_hex_utf16_to_uintptr.c b/src/string/ntapi_tt_hex_utf16_to_uintptr.c index 33478f3..a3fddb0 100644 --- a/src/string/ntapi_tt_hex_utf16_to_uintptr.c +++ b/src/string/ntapi_tt_hex_utf16_to_uintptr.c @@ -6,6 +6,7 @@ #include <psxtypes/psxtypes.h> #include <ntapi/nt_status.h> +#include "ntapi_impl.h" int32_t __fastcall __ntapi_tt_hex_utf16_to_uint32( __in const wchar16_t hex_key_utf16[8], diff --git a/src/string/ntapi_tt_memcpy_utf16.c b/src/string/ntapi_tt_memcpy_utf16.c index 70829e6..1d4f7cf 100644 --- a/src/string/ntapi_tt_memcpy_utf16.c +++ b/src/string/ntapi_tt_memcpy_utf16.c @@ -7,6 +7,7 @@ #include <psxtypes/psxtypes.h> #include <pemagine/pemagine.h> +__attr_protected__ wchar16_t * __cdecl __ntapi_tt_memcpy_utf16( __in wchar16_t * dst, __in wchar16_t * src, diff --git a/src/string/ntapi_tt_strcmp_multibyte.c b/src/string/ntapi_tt_strcmp_multibyte.c index 7cedcf5..c7e4592 100644 --- a/src/string/ntapi_tt_strcmp_multibyte.c +++ b/src/string/ntapi_tt_strcmp_multibyte.c @@ -6,6 +6,7 @@ #include <psxtypes/psxtypes.h> #include <ntapi/nt_string.h> +#include "ntapi_impl.h" int __cdecl __ntapi_tt_strcmp_multibyte( __in const char * a, diff --git a/src/string/ntapi_tt_strcmp_utf16.c b/src/string/ntapi_tt_strcmp_utf16.c index 7f13c73..6bac873 100644 --- a/src/string/ntapi_tt_strcmp_utf16.c +++ b/src/string/ntapi_tt_strcmp_utf16.c @@ -6,6 +6,7 @@ #include <psxtypes/psxtypes.h> #include <ntapi/nt_string.h> +#include "ntapi_impl.h" int __cdecl __ntapi_tt_strcmp_utf16( __in const wchar16_t * a, diff --git a/src/string/ntapi_tt_strncmp_multibyte.c b/src/string/ntapi_tt_strncmp_multibyte.c index 90b85f6..df8b95e 100644 --- a/src/string/ntapi_tt_strncmp_multibyte.c +++ b/src/string/ntapi_tt_strncmp_multibyte.c @@ -6,6 +6,7 @@ #include <psxtypes/psxtypes.h> #include <ntapi/nt_string.h> +#include "ntapi_impl.h" int __cdecl __ntapi_tt_strncmp_multibyte( __in const char * a, diff --git a/src/string/ntapi_tt_strncmp_utf16.c b/src/string/ntapi_tt_strncmp_utf16.c index aaa90ca..7fe1b23 100644 --- a/src/string/ntapi_tt_strncmp_utf16.c +++ b/src/string/ntapi_tt_strncmp_utf16.c @@ -6,6 +6,7 @@ #include <psxtypes/psxtypes.h> #include <ntapi/nt_string.h> +#include "ntapi_impl.h" int __cdecl __ntapi_tt_strncmp_utf16( __in const wchar16_t * a, diff --git a/src/string/ntapi_tt_uintptr_to_dec.c b/src/string/ntapi_tt_uintptr_to_dec.c index c496247..a3252fc 100644 --- a/src/string/ntapi_tt_uintptr_to_dec.c +++ b/src/string/ntapi_tt_uintptr_to_dec.c @@ -6,6 +6,7 @@ #include <psxtypes/psxtypes.h> #include <ntapi/nt_status.h> +#include "ntapi_impl.h" static void __tt_uintptr_to_mirrored_dec_utf8( uintptr_t key, diff --git a/src/string/ntapi_tt_uintptr_to_hex_utf16.c b/src/string/ntapi_tt_uintptr_to_hex_utf16.c index 0afe43d..85909b7 100644 --- a/src/string/ntapi_tt_uintptr_to_hex_utf16.c +++ b/src/string/ntapi_tt_uintptr_to_hex_utf16.c @@ -36,6 +36,7 @@ static void __fastcall __ntapi_tt_uint_to_hex_utf16( } +__attr_protected__ void __fastcall __ntapi_tt_uint16_to_hex_utf16( __in const uint32_t key, __out wchar16_t * formatted_key) @@ -47,6 +48,7 @@ void __fastcall __ntapi_tt_uint16_to_hex_utf16( } +__attr_protected__ void __fastcall __ntapi_tt_uint32_to_hex_utf16( __in const uint32_t key, __out wchar16_t * formatted_key) @@ -58,6 +60,7 @@ void __fastcall __ntapi_tt_uint32_to_hex_utf16( } +__attr_protected__ void __fastcall __ntapi_tt_uint64_to_hex_utf16( __in const uint64_t key, __out wchar16_t * formatted_key) @@ -69,6 +72,7 @@ void __fastcall __ntapi_tt_uint64_to_hex_utf16( } +__attr_protected__ void __fastcall __ntapi_tt_uintptr_to_hex_utf16( __in const uintptr_t key, __out wchar16_t * formatted_key) diff --git a/src/string/ntapi_tt_uintptr_to_hex_utf8.c b/src/string/ntapi_tt_uintptr_to_hex_utf8.c index 36e333e..007b34b 100644 --- a/src/string/ntapi_tt_uintptr_to_hex_utf8.c +++ b/src/string/ntapi_tt_uintptr_to_hex_utf8.c @@ -5,6 +5,7 @@ /********************************************************/ #include <psxtypes/psxtypes.h> +#include "ntapi_impl.h" static void __fastcall __ntapi_tt_uint_to_hex_utf8( __in const uint64_t key, |