bind9/lib/ns
Ondřej Surý 913e64e8e1 Remove usage of deprecated ATOMIC_VAR_INIT() macro
The C17 standard deprecated ATOMIC_VAR_INIT() macro (see [1]).  Follow
the suite and remove the ATOMIC_VAR_INIT() usage in favor of simple
assignment of the value as this is what all supported stdatomic.h
implementations do anyway:

  * MacOSX.plaform: #define ATOMIC_VAR_INIT(__v) {__v}
  * Gcc stdatomic.h: #define ATOMIC_VAR_INIT(VALUE)	(VALUE)

1. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1138r0.pdf

(cherry picked from commit f251d69eba)
2022-03-09 09:25:37 +01:00
..
include Fix more ns_statscounter_recursclients underflows 2022-02-23 14:43:09 +01:00
tests Remove usage of deprecated ATOMIC_VAR_INIT() macro 2022-03-09 09:25:37 +01:00
client.c Remove usage of deprecated ATOMIC_VAR_INIT() macro 2022-03-09 09:25:37 +01:00
hooks.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
interfacemgr.c Explicitly enable IPV6_V6ONLY on the netmgr sockets 2022-01-17 22:16:27 +01:00
listenlist.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
log.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am Remove libns init/shutdown functions 2021-10-04 13:57:34 -07:00
notify.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
query.c Fix more ns_statscounter_recursclients underflows 2022-02-23 14:43:09 +01:00
server.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
sortlist.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
stats.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
update.c allow dns_clientinfo to store client ECS data 2022-01-27 14:51:11 -08:00
xfrout.c Reimplement the max-transfer-time-out and max-transfer-idle-out 2022-02-17 22:29:29 +01:00