- if(perfIntHook) { /* Is there a hook? */
- if(perfIntHook(type, ssp, dsisr, dar) == KERN_SUCCESS) return ssp; /* If it succeeds, we are done... */
+ perfCallback fn = perfIntHook;
+ if(fn) { /* Is there a hook? */
+ if(fn(type, ssp, dsisr, dar) == KERN_SUCCESS) return ssp; /* If it succeeds, we are done... */