IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 9, 2004, 1:34:58 PM (22 years ago)
Author:
desonia
Message:

cleanup of some indent-induced madness.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psVector.c

    r1407 r1440  
    99*  @author Ross Harman, MHPCC
    1010*
    11 *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
    12 *  @date $Date: 2004-08-07 00:06:06 $
     11*  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2004-08-09 23:34:57 $
    1313*
    1414*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    6767
    6868/*****************************************************************************/
    69 static void vectorFree(psVector * restrict psVec);
     69static void vectorFree(psVector* restrict psVec);
    7070
    7171/*****************************************************************************/
     
    7474
    7575/*****************************************************************************/
    76 psVector *psVectorAlloc(unsigned int nalloc, psElemType elemType)
    77 {
    78     psVector *psVec = NULL;
     76psVector* psVectorAlloc(unsigned int nalloc, psElemType elemType)
     77{
     78    psVector* psVec = NULL;
    7979    int elementSize = 0;
    8080
     
    8888
    8989    // Create vector struct
    90     psVec = (psVector *) psAlloc(sizeof(psVector));
     90    psVec = (psVector* ) psAlloc(sizeof(psVector));
    9191    p_psMemSetDeallocator(psVec, (psFreeFcn) vectorFree);
    9292
     
    102102}
    103103
    104 psVector *psVectorRealloc(unsigned int nalloc, psVector * restrict in)
     104psVector* psVectorRealloc(unsigned int nalloc, psVector* restrict in)
    105105{
    106106    int elementSize = 0;
     
    130130}
    131131
    132 psVector *psVectorRecycle(psVector * restrict in, unsigned int nalloc, psElemType type)
     132psVector* psVectorRecycle(psVector* restrict in, unsigned int nalloc, psElemType type)
    133133{
    134134    psElemType elemType;
     
    160160}
    161161
    162 psVector *psVectorSort(psVector * restrict outVector, const psVector * restrict inVector)
     162psVector* psVectorSort(psVector* restrict outVector, const psVector* restrict inVector)
    163163{
    164164    int inN = 0;
     
    261261}
    262262
    263 psVector *psVectorSortIndex(psVector * restrict outVector, const psVector * restrict inVector)
     263psVector* psVectorSortIndex(psVector* restrict outVector, const psVector* restrict inVector)
    264264{
    265265    int inN = 0;
     
    270270    int *outVec = NULL;
    271271    double diff = 0.0f;
    272     psVector *tmpVector = NULL;
     272    psVector* tmpVector = NULL;
    273273    psElemType inType = 0;
    274274
     
    348348}
    349349
    350 static void vectorFree(psVector * restrict psVec)
     350static void vectorFree(psVector* restrict psVec)
    351351{
    352352    if (psVec == NULL) {
Note: See TracChangeset for help on using the changeset viewer.