IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14453


Ignore:
Timestamp:
Aug 8, 2007, 5:30:16 PM (19 years ago)
Author:
jhoblitt
Message:

add PS_ATTR_PURE call attribute

Location:
trunk/psLib/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psType.h

    r14452 r14453  
    1010*  @author Ross Harman, MHPCC
    1111*
    12 *  @version $Revision: 1.60 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2007-08-09 01:40:07 $
     12*  @version $Revision: 1.61 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2007-08-09 03:30:16 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    261261#endif // __GNUC__
    262262
     263#ifdef __GNUC__
     264#define PS_ATTR_PURE __attribute__((PURE))
     265#else // __GNUC__
     266#define PS_ATTR_PURE
     267#endif // __GNUC__
     268
    263269/** Dimensions of a data type.
    264270 *
  • trunk/psLib/src/types/psBitSet.c

    r11759 r14453  
    1111 *  @author Robert DeSonia, MHPCC
    1212 *
    13  *  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2007-02-13 03:01:24 $
     13 *  @version $Revision: 1.42 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2007-08-09 03:30:16 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    5252 *  @return  char*: Pointer to byte in which bit is contained.
    5353 */
    54 static char mask(psS32 bit)
     54PS_ATTR_PURE static char mask(psS32 bit)
    5555{
    5656    char mask = (char)0x01;
Note: See TracChangeset for help on using the changeset viewer.