git: libc: Change microseconds args of ualarm() and usleep() to useconds_t.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Feb 17 10:40:44 PST 2021


commit 9e4cdec7b1b7023fcc5040d741f035dde6c5c06c
Author: Sascha Wildner <saw at online.de>
Date:   Wed Feb 17 19:40:04 2021 +0100

    libc: Change microseconds args of ualarm() and usleep() to useconds_t.
    
    It's a standard type and more expressive.
    
    No functional change, unsigned int becomes uint32_t.

Summary of changes:
 include/unistd.h                       | 6 +++---
 lib/libc/gen/ualarm.3                  | 6 +++---
 lib/libc/gen/ualarm.c                  | 4 ++--
 lib/libc/gen/usleep.3                  | 5 ++---
 lib/libc/gen/usleep.c                  | 4 ++--
 lib/libthread_xu/thread/thr_syscalls.c | 6 +++---
 6 files changed, 15 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9e4cdec7b1b7023fcc5040d741f035dde6c5c06c


-- 
DragonFly BSD source repository



More information about the Commits mailing list