queue: mark non-public functions as static

This makes it a bit more explicit about what is the 'user API' of the
code and what is just used internally.
1 file changed