summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c
index 4ba01ba..4034404 100644
--- a/src/main.c
+++ b/src/main.c
@@ -177,8 +177,8 @@ print_help ()
exit (EXIT_SUCCESS);
}
-static void
-load_rc_file (char *filename)
+void
+read_rc_file (char *filename)
{
FILE *rcfile;
@@ -225,7 +225,7 @@ load_rc_file (char *filename)
}
static void
-read_initialization_files ()
+read_startup_files ()
{
char *homedir;
@@ -237,7 +237,7 @@ read_initialization_files ()
{
char *rcfile = (char*)malloc (strlen (homedir) + strlen ("/.ratpoisonrc") + 1);
sprintf (rcfile, "%s/.ratpoisonrc", homedir);
- load_rc_file (rcfile);
+ read_rc_file (rcfile);
}
}
@@ -345,7 +345,7 @@ main (int argc, char *argv[])
initialize_default_keybindings ();
- read_initialization_files ();
+ read_startup_files ();
/* Set an initial window as active. */
set_active_window (find_window_other ());