IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 21, 2004, 1:17:53 PM (22 years ago)
Author:
desonia
Message:

reformatting.

File:
1 edited

Legend:

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

    r1841 r1842  
    1111*  @author George Gusciora, MHPCC
    1212*
    13 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    14 *  @date $Date: 2004-09-21 23:15:04 $
     13*  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     14*  @date $Date: 2004-09-21 23:17:53 $
    1515*
    1616*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8484    the new hash bucket.
    8585 *****************************************************************************/
    86 static psHashBucket* hashBucketAlloc(const char *key, void *data, psHashBucket* next)
     86static psHashBucket* hashBucketAlloc(const char *key,
     87                                     void *data,
     88                                     psHashBucket* next)
    8789{
    8890    // Allocate memory for the new hash bucket.
     
    210212there is little common code between those functions.
    211213  *****************************************************************************/
    212 static void *doHashWork(psHash* table, const char *key, void *data, bool remove
     214static void *doHashWork(psHash* table,
     215                        const char *key,
     216                        void *data, bool remove
    213217                           )
    214218{
     
    340344    boolean value defining success or failure
    341345 *****************************************************************************/
    342 bool psHashAdd(psHash* table, const char *key, void *data)
     346bool psHashAdd(psHash* table,
     347               const char *key,
     348               void *data)
    343349{
    344350    if (table == NULL) {
     
    403409    boolean value defining success or failure
    404410 *****************************************************************************/
    405 bool psHashRemove(psHash* table, const char *key)
     411bool psHashRemove(psHash* table,
     412                  const char *key)
    406413{
    407414    void *data = NULL;
Note: See TracChangeset for help on using the changeset viewer.