git: tcp_wrappers: Remove mystdarg.h and simplify code.
Sascha Wildner
swildner at crater.dragonflybsd.org
Thu May 10 10:51:51 PDT 2018
commit 0a0edb00ee442463ec1d9a415154baa3844be636
Author: Sascha Wildner <saw at online.de>
Date: Thu May 10 19:51:34 2018 +0200
tcp_wrappers: Remove mystdarg.h and simplify code.
This fixes an -Wlto-type-mismatch warning (reported by zrj) because
syslog()'s prototype was wrongly setup (using VARARGS but it has to
take 2 arguments).
Summary of changes:
contrib/tcp_wrappers/fakelog.c | 11 +++++------
contrib/tcp_wrappers/mystdarg.h | 19 -------------------
contrib/tcp_wrappers/myvsyslog.c | 4 +++-
contrib/tcp_wrappers/percent_m.c | 3 +--
contrib/tcp_wrappers/update.c | 14 +++++++-------
5 files changed, 16 insertions(+), 35 deletions(-)
delete mode 100644 contrib/tcp_wrappers/mystdarg.h
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0a0edb00ee442463ec1d9a415154baa3844be636
--
DragonFly BSD source repository
More information about the Commits
mailing list