freebsd-dev/usr.sbin/ypserv
Kyle Evans 3a166b3323 yp*: fix -fno-common build
This is mostly two problems spread out far and wide:
- ypldap_process should be declared properly
- debug is defined differently in many programs

For the latter, just extern it and define it everywhere that actually needs
it. This mostly works out nicely for ^/libexec/ypxfr, which can remove the
assignment at the beginning of main in favor of defining it properly.

-fno-common will become the default in GCC10/LLVM11.

MFC after:	3 days
2020-04-06 23:16:05 +00:00
..
common
Makefile
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options
Makefile.yp
yp_access.c yp*: fix -fno-common build 2020-04-06 23:16:05 +00:00
yp_dblookup.c
yp_dnslookup.c
yp_error.c yp*: fix -fno-common build 2020-04-06 23:16:05 +00:00
yp_extern.h
yp_main.c yp*: fix -fno-common build 2020-04-06 23:16:05 +00:00
yp_server.c
yp_svc_udp.c
ypinit.8
ypinit.sh
ypserv.8