[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Move compiler-compatibility headers into their own module



commit cd8f91955366719d5060264a613c3296b888ec6d
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Thu Jun 21 12:20:26 2018 -0400

    Move compiler-compatibility headers into their own module
    
    This one has no generated code.
---
 src/common/include.am                    | 2 --
 src/{common => lib/cc}/compat_compiler.h | 0
 src/lib/cc/include.am                    | 4 ++++
 src/{common => lib/cc}/torint.h          | 0
 4 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/common/include.am b/src/common/include.am
index 0119b5cf1..2869c2ac9 100644
--- a/src/common/include.am
+++ b/src/common/include.am
@@ -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/common/compat_compiler.h b/src/lib/cc/compat_compiler.h
similarity index 100%
rename from src/common/compat_compiler.h
rename to src/lib/cc/compat_compiler.h
diff --git a/src/lib/cc/include.am b/src/lib/cc/include.am
new file mode 100644
index 000000000..2ae90f97d
--- /dev/null
+++ b/src/lib/cc/include.am
@@ -0,0 +1,4 @@
+
+noinst_HEADERS += \
+	src/lib/cc/compat_compiler.h \
+	src/lib/cc/torint.h
diff --git a/src/common/torint.h b/src/lib/cc/torint.h
similarity index 100%
rename from src/common/torint.h
rename to src/lib/cc/torint.h



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits