It was deprecated in glibc 2.30.
This is not a problem in Debian at the moment because we still have glibc 2.29, but in the near future we should have 2.30 in the archive. As you can see here [1] the glibc maintainers are working on it for some time. In Ubuntu, squid FTBFS [2] when this happened, and the proposed patch fixes the issue.
[1] https://salsa.debian.org/glibc-team/glibc/tree/glibc-2.30
[2] https://bugs.launchpad.net/ubuntu/+source/squid/+bug/1843325