Skip to content

Commit

Permalink
Reordered functions to ensure warning-free Windows build
Browse files Browse the repository at this point in the history
Signed-off-by: Adriaan de Jong <[email protected]>
Acked-by: Samuli Seppänen <[email protected]>
Signed-off-by: David Sommerseth <[email protected]>
  • Loading branch information
andj authored and David Sommerseth committed Nov 21, 2011
1 parent 9009aa4 commit 7ac7170
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,16 @@ void plugin_list_open (struct plugin_list *pl,

struct plugin_list *plugin_list_inherit (const struct plugin_list *src);

int plugin_call_ssl (const struct plugin_list *pl,
const int type,
const struct argv *av,
struct plugin_return *pr,
struct env_set *es
#ifdef USE_SSL
, int current_cert_depth,
x509_cert_t *current_cert
#endif
);

static inline int
plugin_call(const struct plugin_list *pl,
Expand All @@ -137,17 +147,6 @@ plugin_call(const struct plugin_list *pl,
);
}

int plugin_call_ssl (const struct plugin_list *pl,
const int type,
const struct argv *av,
struct plugin_return *pr,
struct env_set *es
#ifdef USE_SSL
, int current_cert_depth,
x509_cert_t *current_cert
#endif
);

void plugin_list_close (struct plugin_list *pl);
bool plugin_defined (const struct plugin_list *pl, const int type);

Expand Down

0 comments on commit 7ac7170

Please sign in to comment.