IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 22, 2009, 10:43:26 AM (17 years ago)
Author:
eugene
Message:

lots of very minor API mods to satisfy some pickier compilers (supply void to prototypes for argument-less functions)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/dbExtractMeasures.c

    r20936 r21153  
    123123          } else {
    124124            value.Flt = measure[0].dM;
     125          }
     126          break;
     127        case MAG_PHOT_FLAGS:
     128          if ((field->photcode->type == PHOT_REF) || (field->photcode->type == PHOT_DEP)) {
     129            value.Int = measure[0].photFlags;
     130          } else {
     131            value.Int = 0;
    125132          }
    126133          break;
     
    378385      break;
    379386    case MEAS_OBJ_ID: /* OK */
    380       // XXX this should probably return average[0].objID
    381387      value.Int = average[0].objID;
     388      break;
     389    case MEAS_CAT_ID: /* OK */
     390      value.Int = average[0].catID;
    382391      break;
    383392    case MEAS_IMAGE_ID: /* OK */
Note: See TracChangeset for help on using the changeset viewer.