bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 3/3] Use a consistent include order in header files too.


From: James Youngman
Subject: [PATCH 3/3] Use a consistent include order in header files too.
Date: Mon, 20 Jun 2011 10:37:13 +0100

* lib/printquoted.h: Use the preferred header-file inclusion order
here too.
---
 ChangeLog         |    4 ++++
 lib/printquoted.h |    7 +++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 0bd0196..a394394 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2011-06-20  James Youngman  <address@hidden>
 
+       Use a consistent include order in header files too.
+       * lib/printquoted.h: Use the preferred header-file inclusion order
+       here too.
+
        Use a consistent order for header-file inclusion.
        * find/exec.c: Include config.h, then system headers followed by
        gnulib headers and last, find-specific headers.
diff --git a/lib/printquoted.h b/lib/printquoted.h
index 7ebdde4..539de71 100644
--- a/lib/printquoted.h
+++ b/lib/printquoted.h
@@ -20,13 +20,12 @@
 #if !defined PRINTQUOTED_H
 # define PRINTQUOTED_H
 
-#include "quote.h"
-#include "quotearg.h"
-
-
 #include <stdbool.h>
 #include <stdio.h>
 
+#include "quote.h"
+#include "quotearg.h"
+
 
 size_t qmark_chars(char *buf, size_t len);
 int print_quoted (FILE *fp, const struct quoting_options *qopts, bool 
dest_is_tty, const char *format, const char *s);
-- 
1.7.2.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]