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/include/shell.h

    r4462 r4689  
    11/*** shell.h ***/
     2# include "external.h"
    23
    34# ifndef SHELL_H
     
    89# define ISNUM(c) (isdigit(c) || (c == '-') || (c == '.'))
    910
     11# define MACRO_STRING(s) #s
     12# define MACRO_NAME(s) MACRO_STRING(s)
     13
     14typedef int CommandF ();
     15
    1016/*** typedef structs used by shell functions ***/
    1117typedef struct {                        /* basic opihi command structure */
    1218  char     *name;
    13   Function *func;   
     19  CommandF *func;   
    1420  char     *help;
    1521} Command;
     
    6773char         *GetMacroName              PROTO((void));
    6874int           GetMacroDepth             PROTO((void));
     75void          ListMacro                 PROTO((Macro *macro));
     76void          ListMacros                PROTO(());
     77void          FreeMacro                 PROTO((Macro *macro));
    6978
    7079int           exec_loop                 PROTO((Macro *loop));
     
    104113int           macro_write               PROTO((int, char **));
    105114
     115char *memstr (char *m1, char *m2, int n);
     116
    106117# endif
Note: See TracChangeset for help on using the changeset viewer.