diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-12-02 17:04:17 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-01-09 07:30:35 -0500 |
commit | 3ce2304c6d031020cd8a1f00dee6e87fbf40ecd4 (patch) | |
tree | afdc129a9f9a2646aa814ab6571c88f6f4eb8295 /src/test/test_hs_descriptor.c | |
parent | 792e5b24039f008648ace6136ab10cc869e65afc (diff) | |
download | tor-3ce2304c6d031020cd8a1f00dee6e87fbf40ecd4.tar.gz tor-3ce2304c6d031020cd8a1f00dee6e87fbf40ecd4.zip |
Use new ENABLE/DISABLE_GCC_WARNING
This is an automated commit, generated by:
perl -i -pe 'next if /define/; s/((?:ENABLE|DISABLE)_GCC_WARNING)\(([A-Za-z0-9_\-]+)\)/$1(\"-W$2\")/' src/*/*/*.[ch] src/*/*.[ch]
Diffstat (limited to 'src/test/test_hs_descriptor.c')
-rw-r--r-- | src/test/test_hs_descriptor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_hs_descriptor.c b/src/test/test_hs_descriptor.c index 9587cae85a..cdd9e22fc6 100644 --- a/src/test/test_hs_descriptor.c +++ b/src/test/test_hs_descriptor.c @@ -24,12 +24,12 @@ #include "test/rng_test_helpers.h" #ifdef HAVE_CFLAG_WOVERLENGTH_STRINGS -DISABLE_GCC_WARNING(overlength-strings) +DISABLE_GCC_WARNING("-Woverlength-strings") /* We allow huge string constants in the unit tests, but not in the code * at large. */ #endif #include "test_hs_descriptor.inc" -ENABLE_GCC_WARNING(overlength-strings) +ENABLE_GCC_WARNING("-Woverlength-strings") /* Test certificate encoding put in a descriptor. */ static void |