From fb1c1bfe6c4afb16787aa4ba0f6ecfd84354c535 Mon Sep 17 00:00:00 2001 From: Ville Juven Date: Tue, 10 May 2022 12:04:42 +0300 Subject: [PATCH] libc: Rename lib_Exit lib__Exit Naming collision with lib_exit on some systems --- libs/libc/stdlib/Make.defs | 2 +- libs/libc/stdlib/{lib_Exit.c => lib__Exit.c} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename libs/libc/stdlib/{lib_Exit.c => lib__Exit.c} (97%) diff --git a/libs/libc/stdlib/Make.defs b/libs/libc/stdlib/Make.defs index 6818268cb8..4b5dabf2d9 100644 --- a/libs/libc/stdlib/Make.defs +++ b/libs/libc/stdlib/Make.defs @@ -21,7 +21,7 @@ # Add the stdlib C files to the build CSRCS += lib_abs.c lib_abort.c lib_atof.c lib_atoi.c lib_getprogname.c -CSRCS += lib_atol.c lib_atoll.c lib_div.c lib_ldiv.c lib_lldiv.c lib_Exit.c +CSRCS += lib_atol.c lib_atoll.c lib_div.c lib_ldiv.c lib_lldiv.c lib__Exit.c CSRCS += lib_itoa.c lib_labs.c lib_llabs.c lib_realpath.c lib_bsearch.c CSRCS += lib_rand.c lib_qsort.c lib_srand.c lib_strtol.c CSRCS += lib_strtoll.c lib_strtoul.c lib_strtoull.c lib_strtod.c lib_strtof.c diff --git a/libs/libc/stdlib/lib_Exit.c b/libs/libc/stdlib/lib__Exit.c similarity index 97% rename from libs/libc/stdlib/lib_Exit.c rename to libs/libc/stdlib/lib__Exit.c index 0d8306f2ce..557dfa8b36 100644 --- a/libs/libc/stdlib/lib_Exit.c +++ b/libs/libc/stdlib/lib__Exit.c @@ -1,5 +1,5 @@ /**************************************************************************** - * libs/libc/stdlib/lib_Exit.c + * libs/libc/stdlib/lib__Exit.c * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with