IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 19, 2006, 2:17:21 PM (20 years ago)
Author:
jhoblitt
Message:

rename p_psTimeCopy() -> psTimeCopy() as it should be a public interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psTime.c

    r8776 r9665  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.97 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-09-08 02:33:23 $
     12 *  @version $Revision: 1.98 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-10-20 00:17:21 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    13021302    PS_ASSERT_INT_WITHIN_RANGE(time->nsec,0,(psU32)((1e9)-1),NAN);
    13031303
    1304     psTime *time2 = p_psTimeCopy(time);
     1304    psTime *time2 = psTimeCopy(time);
    13051305    //XXX: ADD says that this formula works only for PS_TIME_TAI, so adding the following:
    13061306    if (time->type == PS_TIME_UTC || time->type == PS_TIME_TT) {
     
    13281328    PS_ASSERT_PTR_NON_NULL(time,NAN);
    13291329    PS_ASSERT_INT_WITHIN_RANGE(time->nsec,0,(psU32)((1e9)-1),NAN);
    1330     psTime *time2 = p_psTimeCopy(time);
     1330    psTime *time2 = psTimeCopy(time);
    13311331    //XXX: ADD says that this formula works only for PS_TIME_TAI, so adding the following:
    13321332    if (time->type == PS_TIME_UTC || time->type == PS_TIME_TT) {
     
    18611861}
    18621862
    1863 psTime *p_psTimeCopy(const psTime *inTime)
     1863psTime *psTimeCopy(const psTime *inTime)
    18641864{
    18651865    PS_ASSERT_PTR_NON_NULL(inTime, NULL);
Note: See TracChangeset for help on using the changeset viewer.