Update global.c
Merge pull request #33 from Guilhem117/patch-29

Update global.c