IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 22, 2009, 10:43:26 AM (17 years ago)
Author:
eugene
Message:

lots of very minor API mods to satisfy some pickier compilers (supply void to prototypes for argument-less functions)

File:
1 edited

Legend:

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

    r20047 r21153  
    154154// # define ABORT(STRING) { gprint (GP_ERR, "programming error: %s\n", STRING); raise (SIGINT); exit (2); }
    155155
    156 void InitPcontrol ();
    157 void FreePcontrol ();
     156void InitPcontrol (void);
     157void FreePcontrol (void);
    158158
    159159/*** StackOps.c ***/
    160 Stack *InitStack ();
     160Stack *InitStack (void);
    161161void   FreeStack (Stack *stack);
    162162int    PushStack (Stack *stack, int where, void *object, int id, char *name);
     
    173173
    174174/*** CheckSystem.c ***/
    175 int   CheckSystem ();
     175int   CheckSystem (void);
    176176void *CheckSystem_Threaded (void *data);
    177177int   CheckBusyJobs (float delay);
     
    214214
    215215/*** misc files ***/
    216 int    VerboseMode ();  // in verbose.c
     216int    VerboseMode (void);  // in verbose.c
    217217void   gotsignal (int signum); // in pcontrol.c
    218218
    219219/*** IDops.c ***/
    220 void InitIDs ();
    221 IDtype NextJobID ();
    222 IDtype NextHostID ();
     220void InitIDs (void);
     221IDtype NextJobID (void);
     222IDtype NextHostID (void);
    223223void PrintID (gpDest dest, IDtype ID);
    224224IDtype GetID (char *IDword);
    225225
    226226/*** CheckPoint.c ***/
    227 int SetCheckPoint ();
    228 int ClearCheckPoint ();
    229 int TestCheckPoint ();
     227int SetCheckPoint (void);
     228int ClearCheckPoint (void);
     229int TestCheckPoint (void);
    230230
    231231/*** HostOps.c ***/
    232 void   InitHostStacks ();
    233 void   FreeHostStacks ();
     232void   InitHostStacks (void);
     233void   FreeHostStacks (void);
    234234Stack *GetHostStack (int StackID);
    235235char  *GetHostStackName (int StackID);
     
    246246void   DownHost (Host *host);
    247247void   OffHost (Host *host);
    248 int    DownHosts ();
     248int    DownHosts (void);
    249249int    StopHost (Host *host);
    250250int    StopHostResponse (Host *host);
     
    254254int InitJobOutput (JobOutput *output);
    255255int ResetJobOutput (JobOutput *output);
    256 void   InitJobStacks ();
    257 void   FreeJobStacks ();
     256void   InitJobStacks (void);
     257void   FreeJobStacks (void);
    258258Stack *GetJobStack (int StackID);
    259259char  *GetJobStackName (int StackID);
Note: See TracChangeset for help on using the changeset viewer.