Skip to content
Snippets Groups Projects
Commit 0932f322 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Remove compat.h as unneeded from log.c and torlog.h

parent 9426751b
No related branches found
No related tags found
No related merge requests found
...@@ -29,12 +29,12 @@ ...@@ -29,12 +29,12 @@
#ifdef HAVE_FCNTL_H #ifdef HAVE_FCNTL_H
#include <fcntl.h> #include <fcntl.h>
#endif #endif
#include "common/compat.h"
#include "common/util.h" #include "common/util.h"
#define LOG_PRIVATE #define LOG_PRIVATE
#include "common/torlog.h" #include "common/torlog.h"
#include "lib/container/smartlist.h" #include "lib/container/smartlist.h"
#include "lib/err/torerr.h" #include "lib/err/torerr.h"
#include "lib/malloc/util_malloc.h"
#include "lib/wallclock/tor_gettimeofday.h" #include "lib/wallclock/tor_gettimeofday.h"
#include "lib/wallclock/approx_time.h" #include "lib/wallclock/approx_time.h"
......
...@@ -12,7 +12,9 @@ ...@@ -12,7 +12,9 @@
#ifndef TOR_TORLOG_H #ifndef TOR_TORLOG_H
#include "common/compat.h" #include <stdarg.h>
#include "lib/cc/torint.h"
#include "lib/cc/compat_compiler.h"
#include "lib/testsupport/testsupport.h" #include "lib/testsupport/testsupport.h"
#ifdef HAVE_SYSLOG_H #ifdef HAVE_SYSLOG_H
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
*/ */
#include "orconfig.h" #include "orconfig.h"
#include <stddef.h>
#include "common/torlog.h" #include "common/torlog.h"
#include "common/util.h" #include "common/util.h"
#include "common/util_format.h" #include "common/util_format.h"
...@@ -532,4 +533,3 @@ base16_decode(char *dest, size_t destlen, const char *src, size_t srclen) ...@@ -532,4 +533,3 @@ base16_decode(char *dest, size_t destlen, const char *src, size_t srclen)
return (int) (dest-dest_orig); return (int) (dest-dest_orig);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment