X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/5ba3f43ea354af8ad55bea84372a2bc834d8757c..0a7de7458d150b5d4dffc935ba399be265ef0a1a:/osfmk/arm64/strncmp.s diff --git a/osfmk/arm64/strncmp.s b/osfmk/arm64/strncmp.s index eee2de722..07c9a36d0 100644 --- a/osfmk/arm64/strncmp.s +++ b/osfmk/arm64/strncmp.s @@ -34,6 +34,8 @@ * of the first mismatched characters interpreted as uint8_t. */ +#include + .globl _strncmp /***************************************************************************** @@ -41,13 +43,14 @@ *****************************************************************************/ .macro EstablishFrame + ARM64_STACK_PROLOG stp fp, lr, [sp, #-16]! mov fp, sp .endm .macro ClearFrameAndReturn ldp fp, lr, [sp], #16 - ret + ARM64_STACK_EPILOG .endm #include "../mach/arm/vm_param.h"