summaryrefslogtreecommitdiff
path: root/cdl.h
diff options
context:
space:
mode:
Diffstat (limited to 'cdl.h')
-rw-r--r--cdl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cdl.h b/cdl.h
index bfe63a0..1789b39 100644
--- a/cdl.h
+++ b/cdl.h
@@ -182,7 +182,7 @@ struct cdl_swbp_patch
* @param target pointer to function pointer to function to hook.
* @param detour function pointer to detour function
*/
-struct cdl_jmp_patch cdl_jmp_attach(
+EXTERN_C struct cdl_jmp_patch cdl_jmp_attach(
__in_out void** target,
__in void* detour
);
@@ -193,7 +193,7 @@ struct cdl_jmp_patch cdl_jmp_attach(
* @param target pointer to function pointer to function to hook.
* @param detour function pointer to detour function
*/
-struct cdl_swbp_patch cdl_swbp_attach(
+EXTERN_C struct cdl_swbp_patch cdl_swbp_attach(
__in_out void** target,
__in void* detour
);