use static for hashmap_get_entry()

also removed the line breaks on function parameter lists.
I can't stand that.