git: liby: build with WARNS=6; style

Eitan Adler eadler at crater.dragonflybsd.org
Sun Jun 17 12:56:55 PDT 2018


commit cf49343ddd4a2da7ffb632e5c4015f707573a790
Author: Eitan Adler <lists at eitanadler.com>
Date:   Sun Jun 17 18:44:07 2018 +0000

    liby: build with WARNS=6; style
    
    - add header rather than include local details
    - add const
    - remove extraneous void cast
    
    - See discussion on FreeBSD r335270 for motivation for copyright
    details.

Summary of changes:
 lib/liby/Makefile                                         |  1 -
 lib/liby/main.c                                           |  5 ++++-
 lib/liby/yyerror.c                                        |  9 +++++++--
 .../etc/bsd-style-copyright => lib/liby/yyerror.h         | 15 ++++++++++++---
 4 files changed, 23 insertions(+), 7 deletions(-)
 copy share/examples/etc/bsd-style-copyright => lib/liby/yyerror.h (86%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cf49343ddd4a2da7ffb632e5c4015f707573a790


-- 
DragonFly BSD source repository



More information about the Commits mailing list