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 5/8] stdio-common: Reformat Makefile.
Date: Tue, 16 May 2023 08:48:21 -0400	[thread overview]
Message-ID: <20230516124824.146416-6-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.
---
 stdio-common/Makefile | 30 ++++++++++++++++++++----------
 1 file changed, 20 insertions(+), 10 deletions(-)

diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index 7cf8d814ea..1b4997afc8 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -22,7 +22,12 @@ subdir	:= stdio-common
 
 include ../Makeconfig
 
-headers	:= stdio_ext.h printf.h bits/printf-ldbl.h bits/stdio_lim.h
+headers := \
+  bits/printf-ldbl.h \
+  bits/stdio_lim.h \
+  printf.h \
+  stdio_ext.h \
+  # headers
 
 routines := \
   _itoa \
@@ -41,18 +46,18 @@ routines := \
   getw \
   grouping_iterator \
   iovfscanf \
-  isoc99_fscanf \
-  isoc99_scanf \
-  isoc99_sscanf \
-  isoc99_vfscanf \
-  isoc99_vscanf \
-  isoc99_vsscanf \
   isoc23_fscanf \
   isoc23_scanf \
   isoc23_sscanf \
   isoc23_vfscanf \
   isoc23_vscanf \
   isoc23_vsscanf \
+  isoc99_fscanf \
+  isoc99_scanf \
+  isoc99_sscanf \
+  isoc99_vfscanf \
+  isoc99_vscanf \
+  isoc99_vsscanf \
   itoa-digits \
   itoa-udigits \
   itowa-digits \
@@ -238,9 +243,9 @@ tests := \
   tst-unlockedio \
   tst-vfprintf-mbs-prec \
   tst-vfprintf-user-type \
+  tst-vfprintf-width-i18n \
   tst-vfprintf-width-prec \
   tst-vfprintf-width-prec-alloc \
-  tst-vfprintf-width-i18n \
   tst-wc-printf \
   tstdiomisc \
   tstgetln \
@@ -250,6 +255,7 @@ tests := \
 
 tests-container += \
   tst-popen3
+  # tests-container
 
 generated += \
   errlist-data-aux-shared.S \
@@ -262,7 +268,11 @@ tests-internal = \
   tst-grouping_iterator \
   # tests-internal
 
-test-srcs = tst-unbputc tst-printf tst-printfsz-islongdouble
+test-srcs = \
+  tst-printf \
+  tst-printfsz-islongdouble \
+  tst-unbputc \
+  # test-srcs
 
 ifeq ($(run-built-tests),yes)
 tests-special += \
@@ -340,7 +350,7 @@ LOCALES := \
   ja_JP.EUC-JP \
   ps_AF.UTF-8 \
   tg_TJ.UTF-8 \
- # LOCALES
+  # LOCALES
 include ../gen-locales.mk
 
 $(objpfx)bug14.out: $(gen-locales)
-- 
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 ` [COMMITTED 4/8] socket: " Carlos O'Donell
2023-05-16 12:48 ` Carlos O'Donell [this message]
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-6-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).