From fde32028a4587fa13567c0f88e91be191ae9bdad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 11 Nov 2018 18:39:39 +0100 Subject: Move LONG_LINE_MAX definition to fileio.h All users of the macro (except for one, in serialize.c), use the macro in connection with read_line(), so they must include fileio.h. Let's not play libc games and require multiple header file to be included for the most common use of a function. The removal of def.h includes is not exact. I mostly went over the commits that switch over to use read_line() and add def.h at the same time and reverted the addition of def.h in those files. --- src/udev/udev-rules.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/udev') diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c index ad4b32abea..67e31a6f53 100644 --- a/src/udev/udev-rules.c +++ b/src/udev/udev-rules.c @@ -15,7 +15,6 @@ #include "alloc-util.h" #include "conf-files.h" -#include "def.h" #include "device-private.h" #include "device-util.h" #include "dirent-util.h" -- cgit v1.2.3