mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 22:52:06 -04:00
remove last remaining reference to _REENTRANT macro and fix DLZ example
It was used only as guard against unused variable declaration, but the surrounding code depends on strtok_r being defined unconditionally, so there is no point in guarding a variable. Glibc documentation suggests it is obsolete anyway and e.g. Meson build system decided to ignore it. It seems to be required only by old Solaris compiler and OpenIndiana uses gcc.
This commit is contained in:
parent
b2eb166758
commit
ed7fe739c4
1 changed files with 0 additions and 2 deletions
|
|
@ -692,9 +692,7 @@ modrdataset(struct dlz_example_data *state, const char *name,
|
|||
char *full_name, *dclass, *type, *data, *ttlstr, *buf;
|
||||
char absolute[1024];
|
||||
isc_result_t result;
|
||||
#if defined(_REENTRANT)
|
||||
char *saveptr = NULL;
|
||||
#endif /* defined(_REENTRANT) */
|
||||
|
||||
buf = strdup(rdatastr);
|
||||
if (buf == NULL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue