git: csh(1): Fix further warnings and bump WARNS from 1 to 6.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue May 19 14:19:22 PDT 2026


commit da44c6db1aaa2567f76f06f306b7314ba032a358
Author: Sascha Wildner <saw at online.de>
Date:   Tue May 19 23:18:52 2026 +0200

    csh(1): Fix further warnings and bump WARNS from 1 to 6.
    
    * Remove unneeded malloc_usable_size() prototype (there is one
      in <stdlib.h>).
    
    * ut_host is a member of struct utmpx, too, so expand the #ifdef for
      the prototypes for utmphost() and utmphostsize() accordingly.

Summary of changes:
 bin/csh/csh/Makefile      | 8 --------
 contrib/tcsh-6/tc.alloc.c | 1 -
 contrib/tcsh-6/tc.decls.h | 2 +-
 3 files changed, 1 insertion(+), 10 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list