diff options
author | teor <teor@torproject.org> | 2019-11-26 09:07:47 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-12-20 09:50:50 +1000 |
commit | d8b868e483109e32780ec8bfdcefdfbd8355c172 (patch) | |
tree | c0b9646326f65cd0a5bb46d020adc226d8eb1c19 /src/lib/crypt_ops | |
parent | 57b6678d52eec334a3e650158ac97d60b5b2b38b (diff) | |
download | tor-d8b868e483109e32780ec8bfdcefdfbd8355c172.tar.gz tor-d8b868e483109e32780ec8bfdcefdfbd8355c172.zip |
Code Style: Delete PRIVATE defines that are never used
Some ".c" files define *_PRIVATE macros, but those macros are
not used in any header file. Delete them.
These changes were created using the "make autostyle" from
32522, and then split into commits.
Diffstat (limited to 'src/lib/crypt_ops')
-rw-r--r-- | src/lib/crypt_ops/crypto_rand_fast.c | 1 | ||||
-rw-r--r-- | src/lib/crypt_ops/crypto_util.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/crypt_ops/crypto_rand_fast.c b/src/lib/crypt_ops/crypto_rand_fast.c index 8625ebd1c9..166c67c87b 100644 --- a/src/lib/crypt_ops/crypto_rand_fast.c +++ b/src/lib/crypt_ops/crypto_rand_fast.c @@ -32,7 +32,6 @@ * request. */ -#define CRYPTO_RAND_FAST_PRIVATE #define CRYPTO_PRIVATE #include "lib/crypt_ops/crypto_rand.h" diff --git a/src/lib/crypt_ops/crypto_util.c b/src/lib/crypt_ops/crypto_util.c index 5e3f4a87a1..beb45792ad 100644 --- a/src/lib/crypt_ops/crypto_util.c +++ b/src/lib/crypt_ops/crypto_util.c @@ -10,8 +10,6 @@ * \brief Common cryptographic utilities. **/ -#define CRYPTO_UTIL_PRIVATE - #include "lib/crypt_ops/crypto_util.h" #include "lib/cc/compat_compiler.h" |