git: Move __weak_reference() after symbols it links to.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Mon Oct 24 05:15:20 PDT 2016


commit 0c4f129d375539ed50d86f6d1424eea6f13f52b6
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Thu Oct 6 17:53:18 2016 +0300

    Move __weak_reference() after symbols it links to.
    
    Just for consistency. It also will help if prototype visibility would change.
    
    Shouldn't lib/libc/gen/raise.c have weak refs to _raise() and raise()?

Summary of changes:
 lib/libc/compat-43/creat.c    |  1 -
 lib/libc/gen/_spinlock_stub.c | 21 ++++++++++-----------
 lib/libc/gen/err.c            |  8 ++++----
 lib/libc/gen/getprogname.c    |  5 ++---
 lib/libc/gen/isinf.c          |  4 ++--
 lib/libc/gen/isnan.c          |  6 +++---
 lib/libc/gen/pause.c          |  1 -
 lib/libc/gen/sleep.c          |  1 -
 lib/libc/gen/usleep.c         |  1 -
 lib/libc/gen/wait.c           |  1 -
 lib/libc/gen/waitpid.c        |  1 -
 lib/libc/net/nsdispatch.c     |  4 ++--
 lib/libc/stdio/fcloseall.c    |  4 ++--
 lib/libc/stdio/fcookie.c      |  1 -
 lib/libc/stdio/vfscanf.c      |  5 +++--
 lib/libc/stdlib/system.c      |  1 -
 lib/libc/string/strtok.c      |  4 ++--
 lib/libc/upmap/ukp_clock.c    |  4 ++--
 lib/libc/upmap/ukp_getpid.c   |  4 ++--
 lib/libstand/inet_ntoa.c      |  1 -
 20 files changed, 34 insertions(+), 44 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0c4f129d375539ed50d86f6d1424eea6f13f52b6


-- 
DragonFly BSD source repository


More information about the Commits mailing list