git: Don't include "internal" headers outside of regular headers.
swildner at crater.dragonflybsd.org
Wed May 15 13:34:34 PDT 2019
Author: Sascha Wildner <saw at online.de>
Date: Wed May 15 22:34:17 2019 +0200
Don't include "internal" headers outside of regular headers.
Include files like <sys/_timespec.h> and so on contain small parts
such as struct timespec that are supposed to be provided by multiple
regular headers. They should only be included by other headers, not
by *.c files.
None of these was actually needed except for the libtelnet one
(replaced with <stddef.h>).
Summary of changes:
lib/libtelnet/genget.c | 2 +-
sys/dev/drm/linux_vmalloc.c | 1 -
sys/emulation/ndis/subr_ndis.c | 1 -
sys/libkern/strsep.c | 1 -
4 files changed, 1 insertion(+), 4 deletions(-)
DragonFly BSD source repository
More information about the Commits