public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Carlos O'Donell <carlos@redhat.com>
To: libc-alpha@sourceware.org
Cc: Carlos O'Donell <carlos@redhat.com>
Subject: [COMMITTED 4/8] socket: Reformat Makefile.
Date: Tue, 16 May 2023 08:48:20 -0400	[thread overview]
Message-ID: <20230516124824.146416-5-carlos@redhat.com> (raw)
In-Reply-To: <20230516124824.146416-1-carlos@redhat.com>

Reflow Makefile.
Sort using scripts/sort-makefile-lines.py.

Code generation is changed as routines are linked in sorted order
as expected.

No regressions on x86_64 and i686.
---
 socket/Makefile | 47 ++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 38 insertions(+), 9 deletions(-)

diff --git a/socket/Makefile b/socket/Makefile
index 94951ae3e7..d9b0b4af64 100644
--- a/socket/Makefile
+++ b/socket/Makefile
@@ -22,20 +22,49 @@ subdir	:= socket
 
 include ../Makeconfig
 
-headers	:= sys/socket.h sys/un.h bits/sockaddr.h bits/socket.h \
-	   bits/socket2.h bits/types/struct_osockaddr.h \
-	   sys/socketvar.h net/if.h
+headers := \
+  bits/sockaddr.h \
+  bits/socket.h \
+  bits/socket2.h \
+  bits/types/struct_osockaddr.h \
+  net/if.h \
+  sys/socket.h \
+  sys/socketvar.h \
+  sys/un.h \
+  # headers
 
-routines := accept bind connect getpeername getsockname getsockopt	\
-	    listen recv recvfrom recvmsg send sendmsg sendto		\
-	    setsockopt shutdown socket socketpair isfdtype opensock	\
-	    sockatmark accept4 recvmmsg sendmmsg sockaddr_un_set
+routines := \
+  accept \
+  accept4 \
+  bind \
+  connect \
+  getpeername \
+  getsockname \
+  getsockopt \
+  isfdtype \
+  listen \
+  opensock \
+  recv \
+  recvfrom \
+  recvmmsg \
+  recvmsg \
+  send \
+  sendmmsg \
+  sendmsg \
+  sendto \
+  setsockopt \
+  shutdown \
+  sockaddr_un_set \
+  sockatmark \
+  socket \
+  socketpair \
+  # routines
 
 tests := \
   tst-accept4 \
-  tst-sockopt \
-  tst-cmsghdr \
   tst-cmsg_cloexec \
+  tst-cmsghdr \
+  tst-sockopt \
   # tests
 
 tests-internal := \
-- 
2.40.0


  parent reply	other threads:[~2023-05-16 12:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-16 12:48 [COMMITTED 0/8] Reformat most used Makefiles Carlos O'Donell
2023-05-16 12:48 ` [COMMITTED 1/8] elf: Reformat Makefile Carlos O'Donell
2023-05-16 12:48 ` [COMMITTED 2/8] debug: " Carlos O'Donell
2023-05-16 12:48 ` [COMMITTED 3/8] misc: " Carlos O'Donell
2023-05-16 12:48 ` Carlos O'Donell [this message]
2023-05-16 12:48 ` [COMMITTED 5/8] stdio-common: " Carlos O'Donell
2023-05-16 12:48 ` [COMMITTED 6/8] stdlib: " Carlos O'Donell
2023-05-16 12:48 ` [COMMITTED 7/8] linux: " Carlos O'Donell
2023-05-16 12:48 ` [COMMITTED 8/8] wcsmbs: " Carlos O'Donell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230516124824.146416-5-carlos@redhat.com \
    --to=carlos@redhat.com \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).