[CLEANUP] session.c: Make functions static where possible
2 files changed