Commit eb334f73 authored by Alessandro Ghedini's avatar Alessandro Ghedini Committed by Rich Salz
Browse files

Avoid double declaration of COMP_METHOD

parent 54fc5795
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;