IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 21, 2007, 2:10:20 PM (19 years ago)
Author:
eugene
Message:

convert str_to_time and related functions to ohana_...; various cleanups for -Wall -Werror

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/imregister/spreg/output.c

    r12332 r14590  
    101101  for (i = 0; i < Nmatch; i++) {
    102102    subset = &spectrum[match[i]];
    103     obsstr = sec_to_date (subset[0].obstime);
    104     regstr = sec_to_date (subset[0].regtime);
     103    obsstr = ohana_sec_to_date (subset[0].obstime);
     104    regstr = ohana_sec_to_date (subset[0].regtime);
    105105
    106106    /* we should get an error here if we don't construct this line correctly */
     
    119119
    120120  /* add current date/time to header */
    121   str_to_time ("now", &tsecond);
    122   datestr = sec_to_date (tsecond);
     121  ohana_str_to_time ("now", &tsecond);
     122  datestr = ohana_sec_to_date (tsecond);
    123123  gfits_modify (&header,  "DATE", "%s", 1, datestr);
    124124  gfits_modify (&theader, "DATE", "%s", 1, datestr);
     
    150150    i = match[j];
    151151   
    152     timestr = RegTimeMode ? sec_to_date (spectrum[i].regtime) : sec_to_date (spectrum[i].obstime);
     152    timestr = RegTimeMode ? ohana_sec_to_date (spectrum[i].regtime) : ohana_sec_to_date (spectrum[i].obstime);
    153153
    154154    /* predefined subset of values */
Note: See TracChangeset for help on using the changeset viewer.