diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-22 11:18:19 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-22 11:18:19 -0400 |
commit | 90a09df5ba7b3e55ea388a4cc9b92161442bb380 (patch) | |
tree | 1e50692d10ede2ddcf2c8b271a9c086c0a7d189e /src/common/compat.c | |
parent | bfb39164ce49450fad11611a129dd875acebde54 (diff) | |
download | tor-90a09df5ba7b3e55ea388a4cc9b92161442bb380.tar.gz tor-90a09df5ba7b3e55ea388a4cc9b92161442bb380.zip |
Extract strlcpy and strlcmp to libtor-string
Diffstat (limited to 'src/common/compat.c')
-rw-r--r-- | src/common/compat.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index 351fa05634..1dcd065810 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -131,14 +131,6 @@ SecureZeroMemory(PVOID ptr, SIZE_T cnt) #include "common/address.h" #include "common/sandbox.h" -/* Inline the strl functions if the platform doesn't have them. */ -#ifndef HAVE_STRLCPY -#include "strlcpy.c" -#endif -#ifndef HAVE_STRLCAT -#include "strlcat.c" -#endif - /* When set_max_file_descriptors() is called, update this with the max file * descriptor value so we can use it to check the limit when opening a new * socket. Default value is what Debian sets as the default hard limit. */ |