[1/7] Make IMPORTED_GNULIB_MODULES in alphabetical order

Message ID 1416057612-16155-2-git-send-email-yao@codesourcery.com
State New, archived
Headers

Commit Message

Yao Qi Nov. 15, 2014, 1:20 p.m. UTC
  Since we'll add more modules in this list, better to keep them in
alphabetical order.

gdb:

	* gnulib/update-gnulib.sh: Make IMPORTED_GNULIB_MODULES in
	alphabetical order.
---
 gdb/gnulib/update-gnulib.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Comments

Pedro Alves Nov. 21, 2014, 12:21 p.m. UTC | #1
On 11/15/2014 01:20 PM, Yao Qi wrote:
> Since we'll add more modules in this list, better to keep them in
> alphabetical order.

Makes sense.

Thanks,
Pedro Alves
  

Patch

diff --git a/gdb/gnulib/update-gnulib.sh b/gdb/gnulib/update-gnulib.sh
index 7fd3fae..ec1a8e8 100644
--- a/gdb/gnulib/update-gnulib.sh
+++ b/gdb/gnulib/update-gnulib.sh
@@ -30,17 +30,17 @@ 
 
 # The list of gnulib modules we are importing in GDB.
 IMPORTED_GNULIB_MODULES="\
+    dirent \
     dirfd \
     fnmatch-gnu \
     frexpl \
     inttypes \
     memmem \
-    update-copyright \
-    unistd \
     pathmax \
     strstr \
-    dirent \
     sys_stat \
+    unistd \
+    update-copyright \
 "
 
 # The gnulib commit ID to use for the update.