cos.hh: add missing inline keywords.

Fix "multiple definition..." errors.