1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/usr.sbin/rpc.ypxfrd
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
..
Makefile
Makefile.depend
rpc.ypxfrd.8
ypxfrd_extern.h spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
ypxfrd_main.c yp*: fix -fno-common build 2020-04-06 23:16:05 +00:00
ypxfrd_server.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00