remote-curl.c: mark file-local function static