Deprecate zeekenv() and use getenv() directly

This commit is contained in:
Jon Siwek 2021-01-29 16:52:02 -08:00
parent 79f9979f80
commit b8c563dbdd
11 changed files with 24 additions and 45 deletions

View file

@ -526,6 +526,7 @@ void zeek_strerror_r(int zeek_errno, char* buf, size_t buflen);
* A wrapper function for getenv(). Helps check for existence of
* legacy environment variable names that map to the latest \a name.
*/
[[deprecated("Remove in v5.1. Use getenv() directly.")]]
char* zeekenv(const char* name);
/**