IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 31, 2005, 1:04:22 PM (21 years ago)
Author:
eugene
Message:

cleanups so -Wall -Werror succeed, some .h reorgs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pcontrol/pcontrol.c

    r4450 r4689  
    77# define opihi_rcfile ".pcontrolrc"
    88
    9 void InitPcontrol ();
    10 void InitBasic ();
    11 
    12 void welcome () {
    13   fprintf (stderr, "\n");
    14   fprintf (stderr, "Welcome to %s - %s\n\n", opihi_name, opihi_description);
    15 }
    16 
    179/* program-dependent initialization */
    1810void initialize (int argc, char **argv) {
    1911 
    20   FILE *f;
    21 
    2212  auto_break = TRUE;
    2313
     
    3929  /* load the commands used by this implementation */
    4030  InitBasic ();
     31  InitData ();
    4132  InitOutfile ();
    4233  InitPcontrol ();
     
    5041  set_str_variable ("PROMPT", opihi_prompt);
    5142  set_str_variable ("RCFILE", opihi_rcfile);
     43# ifdef HELPDIR_DEFAULT
     44  set_str_variable ("HELPDIR", MACRO_NAME(HELPDIR_DEFAULT));
     45# endif
    5246
    5347  /* ignore the history file.  to change this, see, eg, mana.c */
    5448  signal (SIGINT, SIG_IGN);
    5549  return;
     50}
     51
     52/* standard welcome message */
     53void welcome () {
     54  fprintf (stderr, "\n");
     55  fprintf (stderr, "Welcome to %s - %s\n\n", opihi_name, opihi_description);
    5656}
    5757
Note: See TracChangeset for help on using the changeset viewer.