From ca8d87a00c097cf1fa5a1c9c12333831f34e32ab Mon Sep 17 00:00:00 2001 From: rcyeske Date: Mon, 26 Feb 2001 00:31:49 +0000 Subject: added cmd_source --- src/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main.c') 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 ()); -- cgit v1.2.3