Fix an error (case on a .Nm) preventing mandoc from rendering the manpage
Fix mandoc warnings: extrat space at end of lines
Correct the functions declaration.
Regenerate the manpage in mdoc(7) format using pod2mdoc

Now mandoc can render the manpage properly