]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Move compiler-compatibility headers into their own module
authorNick Mathewson <nickm@torproject.org>
Thu, 21 Jun 2018 16:20:26 +0000 (12:20 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 21 Jun 2018 17:14:14 +0000 (13:14 -0400)
This one has no generated code.

src/common/include.am
src/lib/cc/compat_compiler.h [moved from src/common/compat_compiler.h with 100% similarity]
src/lib/cc/include.am [new file with mode: 0644]
src/lib/cc/torint.h [moved from src/common/torint.h with 100% similarity]

index 0119b5cf1b3a7e06c240536b4554d1dfeb61dfc5..2869c2ac9ddc4d52613c2d92e4ad5ba9f2deefb7 100644 (file)
@@ -136,7 +136,6 @@ COMMONHEADERS = \
   src/common/aes.h                             \
   src/common/ciphers.inc                       \
   src/common/compat.h                          \
-  src/common/compat_compiler.h                 \
   src/common/compat_libevent.h                 \
   src/common/compat_openssl.h                  \
   src/common/compat_threads.h                  \
@@ -165,7 +164,6 @@ COMMONHEADERS = \
   src/common/testsupport.h                     \
   src/common/timers.h                          \
   src/common/token_bucket.h                    \
-  src/common/torint.h                          \
   src/common/torlog.h                          \
   src/common/tortls.h                          \
   src/common/util.h                            \
diff --git a/src/lib/cc/include.am b/src/lib/cc/include.am
new file mode 100644 (file)
index 0000000..2ae90f9
--- /dev/null
@@ -0,0 +1,4 @@
+
+noinst_HEADERS += \
+       src/lib/cc/compat_compiler.h \
+       src/lib/cc/torint.h
similarity index 100%
rename from src/common/torint.h
rename to src/lib/cc/torint.h