fix declaration of inline routines