apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/include apr_time.h
Date Wed, 12 Jun 2002 22:23:56 GMT
wrowe       2002/06/12 15:23:56

  Modified:    include  apr_time.h
  Log:
    Lowercase macros, per Roy Fielding's comments and general concensus.
  
  Revision  Changes    Path
  1.53      +4 -4      apr/include/apr_time.h
  
  Index: apr_time.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_time.h,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- apr_time.h	12 Jun 2002 21:56:49 -0000	1.52
  +++ apr_time.h	12 Jun 2002 22:23:56 -0000	1.53
  @@ -95,13 +95,13 @@
   /** number of microseconds per second */
   #define APR_USEC_PER_SEC APR_TIME_C(1000000)
   
  -#define APR_TIME_USEC(time) ((apr_int32_t)(time) % APR_USEC_PER_SEC)
  +#define apr_time_usec(time) ((apr_int32_t)(time) % APR_USEC_PER_SEC)
   
  -#define APR_TIME_SEC(time) ((apr_int64_t)(time) / APR_USEC_PER_SEC)
  +#define apr_time_sec(time) ((apr_int64_t)(time) / APR_USEC_PER_SEC)
   
  -#define APR_TIME_FROM_SEC(sec) ((apr_time_t)(sec) * APR_USEC_PER_SEC)
  +#define apr_time_from_sec(sec) ((apr_time_t)(sec) * APR_USEC_PER_SEC)
   
  -#define APR_TIME_MAKE(sec, usec) ((apr_time_t)(sec) * APR_USEC_PER_SEC \
  +#define apr_time_make(sec, usec) ((apr_time_t)(sec) * APR_USEC_PER_SEC \
                                   + (apr_time_t)(usec))
   
   /**
  
  
  

Mime
View raw message