git: libc: Include <unistd.h> for ftell/ftruncate/truncate prototypes.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Dec 22 03:30:30 PST 2016


commit f52b6f6baf225c1a3833f6e4514966325d05d9eb
Author: Sascha Wildner <saw at online.de>
Date:   Thu Dec 22 12:29:45 2016 +0100

    libc: Include <unistd.h> for ftell/ftruncate/truncate prototypes.
    
    Currently, <stdio.h> and <sys/types.h> define them too, so this is
    only cosmetic.
    
    While here, fix a case in dump(8) too.

Summary of changes:
 lib/libc/gen/readdir.c | 1 +
 lib/libc/xdr/xdr_rec.c | 1 +
 sbin/dump/itime.c      | 1 +
 3 files changed, 3 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f52b6f6baf225c1a3833f6e4514966325d05d9eb


-- 
DragonFly BSD source repository


More information about the Commits mailing list