summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-28 14:43:12 -0400
committermidipix <writeonce@midipix.org>2016-05-28 14:43:12 -0400
commitd958316922ea7fc2f5022881435ad67da673192e (patch)
treec4fa9c4a52aeeb0108f9472591b665cc2cd1c69d /src/internal
parentfa2b40697a7760993e08626e17504d7980a487a3 (diff)
downloadntapi-d958316922ea7fc2f5022881435ad67da673192e.tar.bz2
ntapi-d958316922ea7fc2f5022881435ad67da673192e.tar.xz
code maintenance: debug: change type of 'char *' parameters to 'const char *'.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/ntapi_debug.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/internal/ntapi_debug.c b/src/internal/ntapi_debug.c
index 4d4a695..3d11faa 100644
--- a/src/internal/ntapi_debug.c
+++ b/src/internal/ntapi_debug.c
@@ -39,11 +39,11 @@ ssize_t __cdecl __dbg_write(
int32_t __cdecl __dbg_fn_call(
__in void * hfile __optional,
- __in char * fn_caller_name,
+ __in const char * fn_caller_name,
__in void * fn_callee_addr,
__in uintptr_t fn_ret,
__in ntapi_dbg_write* pfn_dbg_write __optional,
- __in char * source __optional,
+ __in const char * source __optional,
__in int line __optional)
{
struct pe_ldr_tbl_entry * image_meta;
@@ -113,10 +113,10 @@ int32_t __cdecl __dbg_fn_call(
int32_t __cdecl __dbg_msg(
__in void * hfile __optional,
- __in char * source __optional,
+ __in const char * source __optional,
__in int line __optional,
- __in char * fn_caller_name,
- __in char * fmt,
+ __in const char * fn_caller_name,
+ __in const char * fmt,
__in uintptr_t arg1,
__in uintptr_t arg2,
__in uintptr_t arg3,