mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Deprecate zeekenv() and use getenv() directly
This commit is contained in:
parent
79f9979f80
commit
b8c563dbdd
11 changed files with 24 additions and 45 deletions
|
@ -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);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue