promisor-remote.h: drop extern from function declaration