Declare them "extern" in include files.
Found by compiling with "-fno-common".
-xbt_dict_t process_function_set;
-xbt_dynar_t process_list;
-xbt_dict_t machine_set;
+extern xbt_dict_t process_function_set;
+extern xbt_dynar_t process_list;
+extern xbt_dict_t machine_set;
typedef struct s_process_t {
int argc;
typedef struct s_process_t {
int argc;
#include "xbt/dynar.h"
#include "xbt/dict.h"
#include "xbt/dynar.h"
#include "xbt/dict.h"
-xbt_dict_t process_function_set;
-xbt_dynar_t process_list;
-xbt_dict_t machine_set;
+extern xbt_dict_t process_function_set;
+extern xbt_dynar_t process_list;
+extern xbt_dict_t machine_set;
+extern char *warning;
typedef struct s_process_t {
int argc;
char **argv;
char *host;
} s_process_t;
typedef struct s_process_t {
int argc;
char **argv;
char *host;
} s_process_t;
void s_process_free(void *process);
void s_process_free(void *process);
xbt_dict_t process_function_set = NULL;
xbt_dynar_t process_list = NULL;
xbt_dict_t machine_set = NULL;
xbt_dict_t process_function_set = NULL;
xbt_dynar_t process_list = NULL;
xbt_dict_t machine_set = NULL;
void s_process_free(void *process)
{
void s_process_free(void *process)
{
#define MAKEFILE_FILENAME_REMOTE "%s.Makefile.remote"
#define DEPLOYMENT "%s.deploy.sh"
#define MAKEFILE_FILENAME_REMOTE "%s.Makefile.remote"
#define DEPLOYMENT "%s.deploy.sh"
/**********************************************/
/**** Generate the file for the simulator *****/
/**********************************************/
/**********************************************/
/**** Generate the file for the simulator *****/
/**********************************************/