pid: mark struct pid* argument as const