Typo in barrier-all header file

Comment out unneeded func. ptr. in globalvar