Commit 42b9a1b3 42b9a1b31ff0ab91f5c861bebbbddf34bbcad50a by Sergey Poznyakoff

(mh_global_profile_get): Changed prototype.

1 parent 55475517
......@@ -236,7 +236,7 @@ message_t mh_file_to_message (char *folder, char *file_name);
message_t mh_stream_to_message (stream_t stream);
void mh_install __P((char *name, int automode));
char *mh_global_profile_get __P((char *name, char *defval));
char *mh_global_profile_get __P((char *name, const char *defval));
int mh_global_profile_set __P((const char *name, const char *value));
char *mh_global_context_get __P((const char *name, const char *defval));
int mh_global_context_set __P((const char *name, const char *value));
......
......@@ -31,7 +31,7 @@ int mh_auto_install = 1;
/* Global profile */
char *
mh_global_profile_get (char *name, char *defval)
mh_global_profile_get (char *name, const char *defval)
{
return mh_context_get_value (profile, name, defval);
}
......@@ -86,7 +86,7 @@ _mh_init_global_context ()
if (context)
return;
mu_path_folder_dir = mh_get_dir ();
mu_set_folder_directory (mh_get_dir ());
p = getenv ("CONTEXT");
if (!p)
p = MH_CONTEXT_FILE;
......