Forráskód Böngészése

Merge branch 'maint-0.2.8'

Nick Mathewson 7 éve
szülő
commit
8f2f06c9b3
2 módosított fájl, 5 hozzáadás és 1 törlés
  1. 4 0
      changes/bug19903
  2. 1 1
      src/common/tortls.c

+ 4 - 0
changes/bug19903

@@ -0,0 +1,4 @@
+  o Minor bugfixes (compilation):
+    - Remove an inappropriate "inline" in tortls.c that was causing warnings
+      on older versions of GCC. Fixes bug 19903; 0.2.8.1-alpha.
+

+ 1 - 1
src/common/tortls.c

@@ -123,7 +123,7 @@ tor_tls_allocate_tor_tls_object_ex_data_index(void)
 
 /** Helper: given a SSL* pointer, return the tor_tls_t object using that
  * pointer. */
-STATIC inline tor_tls_t *
+STATIC tor_tls_t *
 tor_tls_get_by_ssl(const SSL *ssl)
 {
   tor_tls_t *result = SSL_get_ex_data(ssl, tor_tls_object_ex_data_index);