]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: prefer #include <...> for gnulib substitute headers
authorCollin Funk <collin.funk1@gmail.com>
Sun, 18 Feb 2024 20:23:07 +0000 (12:23 -0800)
committerPádraig Brady <P@draigBrady.com>
Mon, 19 Feb 2024 14:19:06 +0000 (14:19 +0000)
* src/shuf.c: Change #include "getopt.h" to #include <getopt.h>.
* src/stat.c: Change #include "getopt.h" to #include <getopt.h>.
* src/system.h: Change #include "error.h" to #include <error.h>.

Copyright-paperwork-exempt: Yes

src/shuf.c
src/stat.c
src/system.h

index b7d6bbf31bcd9ac252ca9f90eb4378aaa2998659..5b17ccf564b2d1012bf0ee0648df5e9f920a41bf 100644 (file)
 #include <config.h>
 
 #include <sys/types.h>
+#include <getopt.h>
 #include "system.h"
 
 #include "fadvise.h"
-#include "getopt.h"
 #include "linebuffer.h"
 #include "quote.h"
 #include "randint.h"
index 9aee46dd538e25391e55673ed0626736bd1b99c4..cb618b49fbf82b36f91aa28fb65f728468fb3ee4 100644 (file)
@@ -53,6 +53,7 @@
 # include <fs_info.h>
 #endif
 #include <selinux/selinux.h>
+#include <getopt.h>
 
 #include "system.h"
 
@@ -62,7 +63,6 @@
 #include "file-type.h"
 #include "filemode.h"
 #include "fs.h"
-#include "getopt.h"
 #include "mountlist.h"
 #include "quote.h"
 #include "stat-size.h"
index 8b3c40d8d72348f6ba606f902e08cd440a9ad32d..43c78de3fedbd9751b2914a6ee3d6faac35ce1ef 100644 (file)
@@ -717,7 +717,7 @@ usable_st_size (struct stat const *sb)
 
 _Noreturn void usage (int status);
 
-#include "error.h"
+#include <error.h>
 
 /* Like error(0, 0, ...), but without an implicit newline.
    Also a noop unless the global DEV_DEBUG is set.  */