Re-entrancy means no use of global variable only local variables, as local variable are context specific and if function enters again then new set of local variables are created.
So in short function should not use of global variables for re-entrancy.