[PATCH] lib: math: rename file providing arith() to arith.c

Ahmad Fatoum a.fatoum at pengutronix.de
Sat Aug 24 13:01:57 PDT 2024


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 at 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




More information about the barebox mailing list