diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-01-31 17:31:23 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-01-31 17:31:23 +0100 |
commit | ffab6897aa1bc668f98130b4bb485a4602509938 (patch) | |
tree | a4d1933fc390ea0803bb3826353262fbf06b885f /LibC/string.cpp | |
parent | 27fa09aee492e6c8da9168d24f0b1d2c5d2162d5 (diff) | |
download | serenity-ffab6897aa1bc668f98130b4bb485a4602509938.zip |
Big, possibly complete sweep of naming changes.
Diffstat (limited to 'LibC/string.cpp')
-rw-r--r-- | LibC/string.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/LibC/string.cpp b/LibC/string.cpp index 1929bf282c..6923a17a4c 100644 --- a/LibC/string.cpp +++ b/LibC/string.cpp @@ -190,21 +190,21 @@ char* strrchr(const char* str, int ch) char* strcat(char *dest, const char *src) { - size_t destLength = strlen(dest); + size_t dest_length = strlen(dest); size_t i; for (i = 0 ; src[i] != '\0' ; i++) - dest[destLength + i] = src[i]; - dest[destLength + i] = '\0'; + dest[dest_length + i] = src[i]; + dest[dest_length + i] = '\0'; return dest; } char* strncat(char *dest, const char *src, size_t n) { - size_t destLength = strlen(dest); + size_t dest_length = strlen(dest); size_t i; for (i = 0 ; i < n && src[i] != '\0' ; i++) - dest[destLength + i] = src[i]; - dest[destLength + i] = '\0'; + dest[dest_length + i] = src[i]; + dest[dest_length + i] = '\0'; return dest; } |