Avoid double declaration of COMP_METHOD
authorAlessandro Ghedini <alessandro@ghedini.me>
Tue, 17 May 2016 15:23:46 +0000 (16:23 +0100)
committerRich Salz <rsalz@openssl.org>
Wed, 18 May 2016 17:38:27 +0000 (13:38 -0400)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1083)

crypto/comp/comp.h

index 60a073404e922f8b7448d115fdb5489feaae500f..df599ba3314bfb3d07401596f9b6e630f53e6b9b 100644 (file)
@@ -14,7 +14,7 @@ extern "C" {
 
 typedef struct comp_ctx_st COMP_CTX;
 
-typedef struct comp_method_st {
+struct comp_method_st {
     int type;                   /* NID for compression library */
     const char *name;           /* A text string to identify the library */
     int (*init) (COMP_CTX *ctx);
@@ -30,7 +30,7 @@ typedef struct comp_method_st {
      */
     long (*ctrl) (void);
     long (*callback_ctrl) (void);
-} COMP_METHOD;
+};
 
 struct comp_ctx_st {
     COMP_METHOD *meth;