git: sbin/hammer2: Don't assume pthread_t is a pointer

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Aug 31 07:28:59 PDT 2019


commit 3c65070f5809750c8d398c5c261479d966793832
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Aug 31 21:47:45 2019 +0900

    sbin/hammer2: Don't assume pthread_t is a pointer
    
    NULL initialization isn't necessary.
    Also having assumption on actual type breaks portability.

Summary of changes:
 sbin/hammer2/cmd_service.c | 5 -----
 sbin/hammer2/subs.c        | 2 +-
 2 files changed, 1 insertion(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3c65070f5809750c8d398c5c261479d966793832


-- 
DragonFly BSD source repository



More information about the Commits mailing list