IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15008


Ignore:
Timestamp:
Sep 24, 2007, 7:01:31 PM (19 years ago)
Author:
eugene
Message:

add an init_error function

Location:
trunk/Ohana/src/opihi
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/include/shell.h

    r12332 r15008  
    113113char         *VarConfigEntry            PROTO((char *keyword, char *mode, int entry, void *ptr));
    114114
     115int           init_error                PROTO((void));
    115116int           push_error                PROTO((char *line));
    116117int           print_error               PROTO((void));
  • trunk/Ohana/src/opihi/lib.shell/errors.c

    r7917 r15008  
    22
    33static char errorline[1024];
     4
     5int init_error () {
     6
     7  bzero (errorline, 1024);
     8  return (TRUE);
     9}
    410
    511int push_error (char *line) {
  • trunk/Ohana/src/opihi/lib.shell/startup.c

    r13479 r15008  
    1919  /* init for main (or only) thread */
    2020  gprintInit ();
     21
     22  init_error ();
    2123
    2224  /* load config data (.ptolemyrc) */
Note: See TracChangeset for help on using the changeset viewer.