* [PATCH] lib: math: rename file providing arith() to arith.c
@ 2024-08-24 20:01 Ahmad Fatoum
2024-08-26 11:06 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2024-08-24 20:01 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
We have math/ in the same directory, so having a math.c file is
a bit confusing. Rename the file to a more descriptive arith.c.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
lib/Makefile | 2 +-
lib/{math.c => arith.c} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename lib/{math.c => arith.c} (100%)
diff --git a/lib/Makefile b/lib/Makefile
index b3d024035c12..19d3a235dda5 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -28,7 +28,7 @@ obj-y += stringlist.o
obj-y += cmdlinepart.o
obj-y += recursive_action.o
obj-y += make_directory.o
-obj-y += math.o
+obj-y += arith.o
obj-$(CONFIG_IDR) += idr.o
obj-y += math/
obj-y += uuid.o
diff --git a/lib/math.c b/lib/arith.c
similarity index 100%
rename from lib/math.c
rename to lib/arith.c
--
2.39.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] lib: math: rename file providing arith() to arith.c
2024-08-24 20:01 [PATCH] lib: math: rename file providing arith() to arith.c Ahmad Fatoum
@ 2024-08-26 11:06 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2024-08-26 11:06 UTC (permalink / raw)
To: barebox, Ahmad Fatoum
On Sat, 24 Aug 2024 22:01:57 +0200, Ahmad Fatoum wrote:
> We have math/ in the same directory, so having a math.c file is
> a bit confusing. Rename the file to a more descriptive arith.c.
>
>
Applied, thanks!
[1/1] lib: math: rename file providing arith() to arith.c
https://git.pengutronix.de/cgit/barebox/commit/?id=0aacba55d3f8 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-26 11:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-24 20:01 [PATCH] lib: math: rename file providing arith() to arith.c Ahmad Fatoum
2024-08-26 11:06 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox