IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23487 for trunk/psphot


Ignore:
Timestamp:
Mar 23, 2009, 9:42:42 AM (17 years ago)
Author:
Paul Price
Message:

Functions declared as 'type function()' cause errors with the Intel compiler ('error #310: old-style parameter list (anachronism)'), which wants 'type function()'. These instances haven't caused problems yet, and I'm trying to avoid that.

Location:
trunk/psphot/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotCleanup.c

    r21341 r23487  
    1818}
    1919
    20 psExit psphotGetExitStatus () {
     20psExit psphotGetExitStatus (void) {
    2121
    2222    psErrorCode err = psErrorCodeLast ();
    2323    switch (err) {
    2424      case PS_ERR_NONE:
    25         return PS_EXIT_SUCCESS;
     25        return PS_EXIT_SUCCESS;
    2626      case PSPHOT_ERR_SYS:
    2727        return PS_EXIT_SYS_ERROR;
  • trunk/psphot/src/psphotDetect.h

    r21392 r23487  
    1919bool        psphotMosaicChip(pmConfig *config, const pmFPAview *view, char *outFile, char *inFile);
    2020void        psphotCleanup (pmConfig *config);
    21 psExit      psphotGetExitStatus ();
     21psExit      psphotGetExitStatus (void);
    2222
    2323#endif
  • trunk/psphot/src/psphotStandAlone.h

    r12805 r23487  
    1717bool            psphotMosaicChip(pmConfig *config, const pmFPAview *view, char *outFile, char *inFile);
    1818void            psphotCleanup (pmConfig *config);
    19 psExit          psphotGetExitStatus ();
     19psExit          psphotGetExitStatus (void);
    2020
    2121#endif
Note: See TracChangeset for help on using the changeset viewer.