git: Remove some really old portability hacks that should no longer be needed.
    Sascha Wildner 
    swildner at crater.dragonflybsd.org
       
    Sat Mar  3 08:25:33 PST 2018
    
    
  
commit dd138a0c90eb3e782d9d5e6c5deb5d460e15d31e
Author: Sascha Wildner <saw at online.de>
Date:   Sat Mar 3 16:52:10 2018 +0100
    Remove some really old portability hacks that should no longer be needed.
    
    This no longer declares ftruncate()/lseek()/mmap() and truncate() in
    either <stdio.h> or <sys/types.h>. 20 years after FreeBSD added it
    (in r24896) we should be over it. What's left, we'll fix better.
Summary of changes:
 include/stdio.h       | 20 --------------------
 include/unistd.h      |  9 ---------
 lib/libstand/stand.h  |  1 +
 sys/sys/mman.h        |  3 ---
 sys/sys/types.h       | 25 -------------------------
 test/sysmsg/syscall.h |  8 --------
 6 files changed, 1 insertion(+), 65 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dd138a0c90eb3e782d9d5e6c5deb5d460e15d31e
-- 
DragonFly BSD source repository
    
    
More information about the Commits
mailing list