IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2885


Ignore:
Timestamp:
Jan 4, 2005, 8:33:55 AM (22 years ago)
Author:
harman
Message:

Removed unused structure

Location:
trunk/psLib/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astronomy/psMetadataIO.c

    r2681 r2885  
    99*  @author Ross Harman, MHPCC
    1010*
    11 *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
    12 *  @date $Date: 2004-12-10 02:50:14 $
     11*  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2005-01-04 18:33:55 $
    1313*
    1414*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3535
    3636
    37 typedef struct
    38 {
    39     int y;
    40 }
    41 myStruct;
    42 
    4337/******************************************************************************/
    4438/*  DEFINE STATEMENTS                                                         */
     
    4640
    4741/** Check for FITS errors */
    48 #define FITS_ERROR(STRING,PS_ERROR) \
    49 fits_get_errstatus(status, fitsErr); \
    50 psError(PS_ERR_IO,true, STRING, PS_ERROR, fitsErr); \
    51 status = 0; \
    52 fits_close_file(fd, &status); \
    53 if(status){ \
    54     fits_get_errstatus(status, fitsErr); \
    55     psError(PS_ERR_IO,true, "Couldn't close FITS file. FITS error: %s", fitsErr); \
    56 } \
    57 status = 0; \
    58 psFree(output); \
     42#define FITS_ERROR(STRING,PS_ERROR)                                                                          \
     43fits_get_errstatus(status, fitsErr);                                                                         \
     44psError(PS_ERR_IO,true, STRING, PS_ERROR, fitsErr);                                                          \
     45status = 0;                                                                                                  \
     46fits_close_file(fd, &status);                                                                                \
     47if(status){                                                                                                  \
     48    fits_get_errstatus(status, fitsErr);                                                                     \
     49    psError(PS_ERR_IO,true, "Couldn't close FITS file. FITS error: %s", fitsErr);                            \
     50}                                                                                                            \
     51status = 0;                                                                                                  \
     52psFree(output);                                                                                              \
    5953return NULL;
    6054
  • trunk/psLib/src/collections/psMetadataIO.c

    r2681 r2885  
    99*  @author Ross Harman, MHPCC
    1010*
    11 *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
    12 *  @date $Date: 2004-12-10 02:50:14 $
     11*  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2005-01-04 18:33:55 $
    1313*
    1414*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3535
    3636
    37 typedef struct
    38 {
    39     int y;
    40 }
    41 myStruct;
    42 
    4337/******************************************************************************/
    4438/*  DEFINE STATEMENTS                                                         */
     
    4640
    4741/** Check for FITS errors */
    48 #define FITS_ERROR(STRING,PS_ERROR) \
    49 fits_get_errstatus(status, fitsErr); \
    50 psError(PS_ERR_IO,true, STRING, PS_ERROR, fitsErr); \
    51 status = 0; \
    52 fits_close_file(fd, &status); \
    53 if(status){ \
    54     fits_get_errstatus(status, fitsErr); \
    55     psError(PS_ERR_IO,true, "Couldn't close FITS file. FITS error: %s", fitsErr); \
    56 } \
    57 status = 0; \
    58 psFree(output); \
     42#define FITS_ERROR(STRING,PS_ERROR)                                                                          \
     43fits_get_errstatus(status, fitsErr);                                                                         \
     44psError(PS_ERR_IO,true, STRING, PS_ERROR, fitsErr);                                                          \
     45status = 0;                                                                                                  \
     46fits_close_file(fd, &status);                                                                                \
     47if(status){                                                                                                  \
     48    fits_get_errstatus(status, fitsErr);                                                                     \
     49    psError(PS_ERR_IO,true, "Couldn't close FITS file. FITS error: %s", fitsErr);                            \
     50}                                                                                                            \
     51status = 0;                                                                                                  \
     52psFree(output);                                                                                              \
    5953return NULL;
    6054
  • trunk/psLib/src/types/psMetadataConfig.c

    r2681 r2885  
    99*  @author Ross Harman, MHPCC
    1010*
    11 *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
    12 *  @date $Date: 2004-12-10 02:50:14 $
     11*  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2005-01-04 18:33:55 $
    1313*
    1414*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3535
    3636
    37 typedef struct
    38 {
    39     int y;
    40 }
    41 myStruct;
    42 
    4337/******************************************************************************/
    4438/*  DEFINE STATEMENTS                                                         */
     
    4640
    4741/** Check for FITS errors */
    48 #define FITS_ERROR(STRING,PS_ERROR) \
    49 fits_get_errstatus(status, fitsErr); \
    50 psError(PS_ERR_IO,true, STRING, PS_ERROR, fitsErr); \
    51 status = 0; \
    52 fits_close_file(fd, &status); \
    53 if(status){ \
    54     fits_get_errstatus(status, fitsErr); \
    55     psError(PS_ERR_IO,true, "Couldn't close FITS file. FITS error: %s", fitsErr); \
    56 } \
    57 status = 0; \
    58 psFree(output); \
     42#define FITS_ERROR(STRING,PS_ERROR)                                                                          \
     43fits_get_errstatus(status, fitsErr);                                                                         \
     44psError(PS_ERR_IO,true, STRING, PS_ERROR, fitsErr);                                                          \
     45status = 0;                                                                                                  \
     46fits_close_file(fd, &status);                                                                                \
     47if(status){                                                                                                  \
     48    fits_get_errstatus(status, fitsErr);                                                                     \
     49    psError(PS_ERR_IO,true, "Couldn't close FITS file. FITS error: %s", fitsErr);                            \
     50}                                                                                                            \
     51status = 0;                                                                                                  \
     52psFree(output);                                                                                              \
    5953return NULL;
    6054
  • trunk/psLib/src/xml/psXML.c

    r2681 r2885  
    99*  @author Ross Harman, MHPCC
    1010*
    11 *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
    12 *  @date $Date: 2004-12-10 02:50:14 $
     11*  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2005-01-04 18:33:55 $
    1313*
    1414*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3535
    3636
    37 typedef struct
    38 {
    39     int y;
    40 }
    41 myStruct;
    42 
    4337/******************************************************************************/
    4438/*  DEFINE STATEMENTS                                                         */
     
    4640
    4741/** Check for FITS errors */
    48 #define FITS_ERROR(STRING,PS_ERROR) \
    49 fits_get_errstatus(status, fitsErr); \
    50 psError(PS_ERR_IO,true, STRING, PS_ERROR, fitsErr); \
    51 status = 0; \
    52 fits_close_file(fd, &status); \
    53 if(status){ \
    54     fits_get_errstatus(status, fitsErr); \
    55     psError(PS_ERR_IO,true, "Couldn't close FITS file. FITS error: %s", fitsErr); \
    56 } \
    57 status = 0; \
    58 psFree(output); \
     42#define FITS_ERROR(STRING,PS_ERROR)                                                                          \
     43fits_get_errstatus(status, fitsErr);                                                                         \
     44psError(PS_ERR_IO,true, STRING, PS_ERROR, fitsErr);                                                          \
     45status = 0;                                                                                                  \
     46fits_close_file(fd, &status);                                                                                \
     47if(status){                                                                                                  \
     48    fits_get_errstatus(status, fitsErr);                                                                     \
     49    psError(PS_ERR_IO,true, "Couldn't close FITS file. FITS error: %s", fitsErr);                            \
     50}                                                                                                            \
     51status = 0;                                                                                                  \
     52psFree(output);                                                                                              \
    5953return NULL;
    6054
Note: See TracChangeset for help on using the changeset viewer.