git: libcompat: Clean up a bit, fix warnings and raise WARNS to 2.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Dec 10 10:18:49 PST 2015


commit bd23c1cdc31d1febaf24a29d216ed71864102b15
Author: Sascha Wildner <saw at online.de>
Date:   Thu Dec 10 19:16:09 2015 +0100

    libcompat: Clean up a bit, fix warnings and raise WARNS to 2.
    
    * Remove K&R definitions for non-__STDC__ case.
    
    * Add two defines to rexec.c which afaict were forgotten when the
      RFC 3542 support was added back in 2008 (5aa41e7ced). Or perhaps
      they were present somewhere else which has been removed since.
    
    * Add braces.
    
    * Remove unneeded CFLAGS.

Summary of changes:
 lib/libcompat/4.1/ascftime.c | 8 --------
 lib/libcompat/4.1/cftime.c   | 8 --------
 lib/libcompat/4.1/getpw.c    | 6 ------
 lib/libcompat/4.3/rexec.c    | 6 +++++-
 lib/libcompat/Makefile       | 4 +---
 5 files changed, 6 insertions(+), 26 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list