tzsetwall() is deprecated, use tzset() instead.

/usr/ports/net/iodine/work/iodine-0.8.0/src/iodined.c:2757: warning: warning: tzsetwall() is deprecated, use tzset() instead.
This commit is contained in:
Pouria Mousavizadeh Tehrani 2023-04-19 00:21:08 +03:30 committed by GitHub
parent 6145eeab73
commit 9262863cae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2754,7 +2754,7 @@ main(int argc, char **argv)
do_pidfile(pidfile); do_pidfile(pidfile);
#ifdef FREEBSD #ifdef FREEBSD
tzsetwall(); tzset();
#endif #endif
#ifndef WINDOWS32 #ifndef WINDOWS32
openlog(__progname, LOG_NDELAY, LOG_DAEMON); openlog(__progname, LOG_NDELAY, LOG_DAEMON);