forked from enlightenment/efl
These global variables need to be extern in the header and
declared/initialized elsewhere. SVN revision: 8627
This commit is contained in:
parent
8523421b7c
commit
d5b246e384
|
@ -111,10 +111,10 @@ typedef struct Ecore_Config_Server {
|
|||
struct Ecore_Config_Server *next; } Ecore_Config_Server;
|
||||
|
||||
/* global ptrs to save passing them through the API */
|
||||
Ecore_Config_Server *__server_global;
|
||||
Ecore_Config_Server *__server_local;
|
||||
Ecore_Config_Bundle *__bundle_local;
|
||||
char *__app_name;
|
||||
extern Ecore_Config_Server *__server_global;
|
||||
extern Ecore_Config_Server *__server_local;
|
||||
extern Ecore_Config_Bundle *__bundle_local;
|
||||
extern char *__app_name;
|
||||
|
||||
Ecore_Config_Prop *ecore_config_get(Ecore_Config_Bundle *t,const char *key);
|
||||
const char *ecore_config_get_type(const Ecore_Config_Prop *e);
|
||||
|
|
|
@ -12,6 +12,11 @@
|
|||
#include <unistd.h>
|
||||
#include <util.h>
|
||||
|
||||
Ecore_Config_Server *__server_global = NULL;
|
||||
Ecore_Config_Server *__server_local = NULL;
|
||||
Ecore_Config_Bundle *__bundle_local = NULL;
|
||||
char *__app_name = NULL;
|
||||
|
||||
Ecore_Config_Server *ipc_init(char *name);
|
||||
int ipc_exit(void);
|
||||
|
||||
|
|
Loading…
Reference in New Issue