git: libz/savecore: Move the local zopen() from libz to savecore(8).

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Oct 16 00:41:36 PDT 2019


commit 721b9eee9e0967564dfc6a04bd0218cf7bd3f852
Author: Sascha Wildner <saw at online.de>
Date:   Wed Oct 16 09:41:20 2019 +0200

    libz/savecore: Move the local zopen() from libz to savecore(8).
    
    It is its only consumer.
    
    Cleanup libz's Versions.def and Symbol.map too. Nothing in dports
    should be using that function from the library (else it's a bug).
    
    While here, add a __DECONST() to fix for WARNS=6.
    
    Discussed-with: zrj

Summary of changes:
 lib/libz/Makefile                   | 2 +-
 lib/libz/Symbol.map                 | 4 ----
 lib/libz/Versions.def               | 3 ---
 sbin/savecore/Makefile              | 1 +
 {lib/libz => sbin/savecore}/zopen.c | 2 +-
 5 files changed, 3 insertions(+), 9 deletions(-)
 rename {lib/libz => sbin/savecore}/zopen.c (92%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/721b9eee9e0967564dfc6a04bd0218cf7bd3f852


-- 
DragonFly BSD source repository



More information about the Commits mailing list