fix mac linker

This commit is contained in:
Xuan Sang LE 2018-03-08 22:59:04 +01:00
parent 0733bec252
commit 3c170bb2f9
4 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
#include "handle.h"
config_t server_config;
#ifdef USE_OPENSSL
int usessl()
{

View File

@ -47,7 +47,7 @@ typedef struct {
char* sslkey;
#endif
}config_t;
extern config_t server_config;
//extern config_t server_config;
typedef struct{
int sock;
void* ssl;

View File

@ -3,7 +3,6 @@
* Plugin table to store the loaded plugin
*/
static struct plugin_entry *plugin_table[HASHSIZE];
config_t server_config;
/**
* Locate a plugin in the plugin table

View File

@ -9,7 +9,7 @@ struct plugin_entry {
char *pname;
void *handle;
};
extern config_t server_config;
/* lookup: look for s in hashtab */
struct plugin_entry *plugin_lookup(char *s);
/* install: put (name, defn) in hashtab */