summaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-22 11:51:58 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-22 11:51:58 -0400
commit6fc2d532274ead9c903c6d94b1a513b8d9b6f677 (patch)
tree1322e7fe3f1dca69e41127bb2a46d6dca54479d0 /src/common/compat.h
parent7a93ce8f6382a2fe8687e7e42dc398e08480c901 (diff)
downloadtor-6fc2d532274ead9c903c6d94b1a513b8d9b6f677.tar.gz
tor-6fc2d532274ead9c903c6d94b1a513b8d9b6f677.zip
Remove util_bug dependency on compat.h
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index f91c224254..691824a2e7 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -92,14 +92,6 @@ char *tor_strtok_r_impl(char *str, const char *sep, char **lasts);
#define tor_strtok_r(str, sep, lasts) tor_strtok_r_impl(str, sep, lasts)
#endif
-#ifdef _WIN32
-#define SHORT_FILE__ (tor_fix_source_file(__FILE__))
-const char *tor_fix_source_file(const char *fname);
-#else
-#define SHORT_FILE__ (__FILE__)
-#define tor_fix_source_file(s) (s)
-#endif /* defined(_WIN32) */
-
/* ===== Time compatibility */
struct tm *tor_localtime_r(const time_t *timep, struct tm *result);