git: crontab(1): Fix -flto warnings.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Mon Apr 8 12:21:31 PDT 2019


commit 471c6e46a0fe5d1d4ccda5e61034231865321281
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Mon Apr 8 18:39:49 2019 +0300

    crontab(1): Fix -flto warnings.
    
    The crontab is compiled without -DLOGIN_CAP that in turn was excluding
    a field in "struct _entry { ... } entry;" in cron.h header.
    Make sure the struct size stays consistent.
    
    Caught-by: LTO

Summary of changes:
 usr.sbin/cron/cron/cron.h      | 2 ++
 usr.sbin/cron/crontab/Makefile | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/471c6e46a0fe5d1d4ccda5e61034231865321281


-- 
DragonFly BSD source repository


More information about the Commits mailing list