IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23486 for trunk/psLib/src/sys


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

Functions declared as 'type function()' caused errors with the Intel compiler ('error #310: old-style parameter list (anachronism)'), which wants 'type function()'.

Location:
trunk/psLib/src/sys
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psError.c

    r19034 r23486  
    146146
    147147psErrorCode p_psErrorV(const char* filename,
    148                        unsigned int lineno,
    149                        const char* func,
    150                        psErrorCode code,
    151                        bool new,
    152                        const char* format,
    153                        va_list ap)
     148                       unsigned int lineno,
     149                       const char* func,
     150                       psErrorCode code,
     151                       bool new,
     152                       const char* format,
     153                       va_list ap)
    154154{
    155155  char errMsg[MAX_STRING_LENGTH];
     
    245245}
    246246
    247 long psErrorGetStackSize()
     247long psErrorGetStackSize(void)
    248248{
    249249    psArray *errorStack = psErrorStackGet();
  • trunk/psLib/src/sys/psError.h

    r19034 r23486  
    8787 *  @return int The number of items on the error stack
    8888 */
    89 long psErrorGetStackSize();
     89long psErrorGetStackSize(void);
    9090
    9191
  • trunk/psLib/src/sys/psLogMsg.c

    r23216 r23486  
    7676}
    7777
    78 int psLogGetLevel()
     78int psLogGetLevel(void)
    7979{
    8080    return globalLogLevel;
  • trunk/psLib/src/sys/psLogMsg.h

    r14452 r23486  
    6363 *  @return int:        The current file descriptor.
    6464 */
    65 int psLogGetDestination();
     65int psLogGetDestination(void);
    6666
    6767
     
    8383 *  @return int:        The current logging level.
    8484 */
    85 int psLogGetLevel();
     85int psLogGetLevel(void);
    8686
    8787/** This procedure sets the log format for future log messages.  The argument
Note: See TracChangeset for help on using the changeset viewer.