<sys/cdefs.h>: Add __{BEGIN,END}_HIDDEN_DECLS definitions and use them.
authorSascha Wildner <saw@online.de>
Sun, 6 Sep 2020 11:06:37 +0000 (13:06 +0200)
committerSascha Wildner <saw@online.de>
Sun, 6 Sep 2020 11:06:37 +0000 (13:06 +0200)
commit232e24915be20b5fdc171f2c57b7876462e5b86f
treeb896a7294d36c6d6a4bcb1d70d4e756d7b6c58ac
parent8ddd0d5924e12f4549642595b00e922f60c21ae7
<sys/cdefs.h>: Add __{BEGIN,END}_HIDDEN_DECLS definitions and use them.

Remove local empty definitions of these macros in some Makefiles.

Thanks to zrj for testing with a full bulk build.

Taken-from: OpenBSD
lib/librecrypto/Makefile
lib/libressl/Makefile
sys/sys/cdefs.h
usr.bin/nc/Makefile