diff options
author | thegeorg <thegeorg@yandex-team.ru> | 2022-02-10 16:45:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:08 +0300 |
commit | 4e839db24a3bbc9f1c610c43d6faaaa99824dcca (patch) | |
tree | 506dac10f5df94fab310584ee51b24fc5a081c22 /contrib/libs/libc_compat/string.h | |
parent | 2d37894b1b037cf24231090eda8589bbb44fb6fc (diff) | |
download | ydb-4e839db24a3bbc9f1c610c43d6faaaa99824dcca.tar.gz |
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/libc_compat/string.h')
-rw-r--r-- | contrib/libs/libc_compat/string.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/contrib/libs/libc_compat/string.h b/contrib/libs/libc_compat/string.h index ad74d9a630..d183391084 100644 --- a/contrib/libs/libc_compat/string.h +++ b/contrib/libs/libc_compat/string.h @@ -1,18 +1,18 @@ -#pragma once - -#include <stddef.h> +#pragma once + +#include <stddef.h> #include <ctype.h> #include <string.h> - -#ifdef __cplusplus -extern "C" { -#endif - + +#ifdef __cplusplus +extern "C" { +#endif + #if !defined(__FreeBSD__) && !defined(__APPLE__) -size_t strlcpy(char* dst, const char* src, size_t len); -size_t strlcat(char* dst, const char* src, size_t len); +size_t strlcpy(char* dst, const char* src, size_t len); +size_t strlcat(char* dst, const char* src, size_t len); #endif - + #if (!defined(__linux__) && !defined(__FreeBSD__) && !defined(__APPLE__)) || (defined(__ANDROID__) && __ANDROID_API__ < 21) char* stpcpy(char* dst, const char* src); #endif @@ -39,6 +39,6 @@ char* strsep(char** stringp, const char* delim); void* memrchr(const void* s, int c, size_t n); #endif -#ifdef __cplusplus -} //extern "C" -#endif +#ifdef __cplusplus +} //extern "C" +#endif |