git: DragonFly_RELEASE_5_2 tcp_wrappers: Remove mystdarg.h and simplify code.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu May 10 10:52:28 PDT 2018


commit b0d07b544ba82127d2bb407139410fd1170d41e3
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/b0d07b544ba82127d2bb407139410fd1170d41e3


-- 
DragonFly BSD source repository



More information about the Commits mailing list