service-management: Rename functions to their correct name

Name functions the same way in the C sources as they're named in the
header. Also remove the static declaration, and the unused #else branch
in the C code.

This makes syslog-ng compile on systemd with systemd support enabled.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>