groff treats '-' (the character you get when you hit the "minus" key on
the keyboard) as "hyphen", not as "minus". Thus it renders incorrectly
in some locales, and line-wraps strangely.
groff treats the two-character sequence "\-" as "minus", and the
four-character sequence "\(hy" as "hyphen".
Details here: https://lists.debian.org/debian-devel/2003/03/msg01481.html
This commit replaces every instance of "-" in our manpages where the
meaning is "minus" with "\-", so it works right.
This fixes many lintian warnings.
Before this, the rtapi_app_main.3 manpage had the #include and the
function declaration on the same line, this breaks them apart to separate
lines.
Also adds the #include <rtapi.h> to th rtapi_app_exit.3 manpage.
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>