comparison src/gtkmain.c @ 10871:6240d7fd5b2c

[gaim-migrate @ 12558] Make a bunch of stuff static and rename set_gaim_user_dir to gaim_util_set_user_dir committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 25 Apr 2005 04:22:29 +0000
parents d0599007928f
children 9fe9c7e00666
comparison
equal deleted inserted replaced
10870:b75ce371c812 10871:6240d7fd5b2c
143 snprintf(errmsg, BUFSIZ, "Warning: waitpid() returned %d", pid); 143 snprintf(errmsg, BUFSIZ, "Warning: waitpid() returned %d", pid);
144 perror(errmsg); 144 perror(errmsg);
145 } 145 }
146 } 146 }
147 147
148 void 148 static void
149 sighandler(int sig) 149 sighandler(int sig)
150 { 150 {
151 switch (sig) { 151 switch (sig) {
152 case SIGHUP: 152 case SIGHUP:
153 gaim_debug_warning("sighandler", "Caught signal %d\n", sig); 153 gaim_debug_warning("sighandler", "Caught signal %d\n", sig);
591 return 0; 591 return 0;
592 } 592 }
593 593
594 /* set a user-specified config directory */ 594 /* set a user-specified config directory */
595 if (opt_config_dir_arg != NULL) { 595 if (opt_config_dir_arg != NULL) {
596 set_gaim_user_dir(opt_config_dir_arg); 596 gaim_util_set_user_dir(opt_config_dir_arg);
597 } 597 }
598 598
599 /* 599 /*
600 * We're done piddling around with command line arguments. 600 * We're done piddling around with command line arguments.
601 * Fire up this baby. 601 * Fire up this baby.