[haiku-commits] haiku: hrev43571 - in src: system/libroot/posix/string build/libroot

  • From: fredrik.holmqvist@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 29 Dec 2011 15:43:45 +0100 (CET)

hrev43571 adds 1 changeset to branch 'master'
old head: 981c729bdca928743f9bf6e7fc611563c312cbc3
new head: 55cf69968f4d5be68301b548687d9b81cbee383a

----------------------------------------------------------------------------

55cf699: Rename strlen.c strnlen.c to strlen.cpp strnlen.cpp.
  
  No changes in the files themselves in this commit.

                         [ Fredrik Holmqvist <fredrik.holmqvist@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev43571
Commit:      55cf69968f4d5be68301b548687d9b81cbee383a
URL:         http://cgit.haiku-os.org/haiku/commit/?id=55cf699
Author:      Fredrik Holmqvist <fredrik.holmqvist@xxxxxxxxx>
Date:        Thu Dec 29 14:38:23 2011 UTC

----------------------------------------------------------------------------

5 files changed, 5 insertions(+), 5 deletions(-)
src/build/libroot/Jamfile                          |    4 ++--
src/system/kernel/lib/Jamfile                      |    4 ++--
src/system/libroot/posix/string/Jamfile            |    2 +-
.../libroot/posix/string/{strlen.c => strlen.cpp}  |    0
.../posix/string/{strnlen.c => strnlen.cpp}        |    0

----------------------------------------------------------------------------

diff --git a/src/build/libroot/Jamfile b/src/build/libroot/Jamfile
index e1ebd9d..0104f25 100644
--- a/src/build/libroot/Jamfile
+++ b/src/build/libroot/Jamfile
@@ -67,7 +67,7 @@ local librootSources =
        driver_settings.cpp
 
        $(strlSources)
-       strnlen.c
+       strnlen.cpp
 
        KMessage.cpp
 ;
@@ -93,7 +93,7 @@ BuildPlatformStaticLibraryPIC 
libroot_build_function_remapper.a :
 
 SEARCH on [ FGristFiles driver_settings.cpp ]
        = [ FDirName $(HAIKU_TOP) src system libroot os ] ;
-SEARCH on [ FGristFiles $(strlSources) strnlen.c ]
+SEARCH on [ FGristFiles $(strlSources) strnlen.cpp ]
        = [ FDirName $(HAIKU_TOP) src system libroot posix string ] ;
 SEARCH on [ FGristFiles KMessage.cpp ]
     = [ FDirName $(HAIKU_TOP) src system kernel messaging ] ;
diff --git a/src/system/kernel/lib/Jamfile b/src/system/kernel/lib/Jamfile
index 77e0958..5d4cba6 100644
--- a/src/system/kernel/lib/Jamfile
+++ b/src/system/kernel/lib/Jamfile
@@ -109,12 +109,12 @@ KernelMergeObject kernel_lib_posix.o :
        strerror.c
        strlcat.c
        strlcpy.c
-       strlen.c
+       strlen.cpp
        strncat.c
        strncmp.c
        strncpy.c
        strndup.cpp
-       strnlen.c
+       strnlen.cpp
        strpbrk.c
        strrchr.c
        strspn.c
diff --git a/src/system/libroot/posix/string/Jamfile 
b/src/system/libroot/posix/string/Jamfile
index 8fdbe7b..a844ff0 100644
--- a/src/system/libroot/posix/string/Jamfile
+++ b/src/system/libroot/posix/string/Jamfile
@@ -33,7 +33,7 @@ MergeObject posix_string.o :
        strncmp.c
        strncpy.c
        strndup.cpp
-       strnlen.c
+       strnlen.cpp
        strpbrk.c
        strrchr.c
        strspn.c
diff --git a/src/system/libroot/posix/string/strlen.c 
b/src/system/libroot/posix/string/strlen.cpp
similarity index 100%
rename from src/system/libroot/posix/string/strlen.c
rename to src/system/libroot/posix/string/strlen.cpp
diff --git a/src/system/libroot/posix/string/strnlen.c 
b/src/system/libroot/posix/string/strnlen.cpp
similarity index 100%
rename from src/system/libroot/posix/string/strnlen.c
rename to src/system/libroot/posix/string/strnlen.cpp


Other related posts:

  • » [haiku-commits] haiku: hrev43571 - in src: system/libroot/posix/string build/libroot - fredrik . holmqvist