git: pthread: Fix some warnings, do not raise WARNS to 6.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Mon Sep 26 00:33:02 PDT 2016


commit 6be5672c4fb0fffb7af4fd5f3ebfd39f1aded9bd
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Fri Sep 16 16:09:34 2016 +0300

    pthread: Fix some warnings, do not raise WARNS to 6.
    
    Using -Os will create lots of -Winline, thus leave at 5 by default.
    Sorry for __is_threaded.

Summary of changes:
 lib/libthread_xu/Makefile                 |  2 +-
 lib/libthread_xu/thread/thr_cancel.c      |  2 --
 lib/libthread_xu/thread/thr_concurrency.c |  2 ++
 lib/libthread_xu/thread/thr_create.c      |  2 +-
 lib/libthread_xu/thread/thr_detach.c      |  1 -
 lib/libthread_xu/thread/thr_kern.c        |  1 +
 lib/libthread_xu/thread/thr_list.c        |  2 +-
 lib/libthread_xu/thread/thr_private.h     | 41 ++-----------------------------
 lib/libthread_xu/thread/thr_resume_np.c   |  1 +
 lib/libthread_xu/thread/thr_rwlock.c      |  1 -
 lib/libthread_xu/thread/thr_self.c        |  1 -
 lib/libthread_xu/thread/thr_spec.c        |  1 -
 lib/libthread_xu/thread/thr_spinlock.c    |  2 --
 lib/libthread_xu/thread/thr_syscalls.c    |  6 ++---
 14 files changed, 12 insertions(+), 53 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6be5672c4fb0fffb7af4fd5f3ebfd39f1aded9bd


-- 
DragonFly BSD source repository



More information about the Commits mailing list