Move private variables and functions to alert.c and make static.
Merge pull request #1 from smallstoneapps/master

Move private variables and functions to alert.c and make static.