update global.c

add function notes