summaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-22 11:18:19 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-22 11:18:19 -0400
commit90a09df5ba7b3e55ea388a4cc9b92161442bb380 (patch)
tree1e50692d10ede2ddcf2c8b271a9c086c0a7d189e /src/common/compat.c
parentbfb39164ce49450fad11611a129dd875acebde54 (diff)
downloadtor-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.c8
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. */