[BACK]Return to clock_subr.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/clock_subr.h between version 1.21 and 1.21.38.1

version 1.21, 2009/12/12 15:10:34 version 1.21.38.1, 2014/11/12 18:50:55
Line 36 
Line 36 
  * "POSIX time" to/from "YY/MM/DD/hh/mm/ss"   * "POSIX time" to/from "YY/MM/DD/hh/mm/ss"
  */   */
 struct clock_ymdhms {  struct clock_ymdhms {
         u_short dt_year;          uint64_t dt_year;
         u_char dt_mon;          u_char dt_mon;
         u_char dt_day;          u_char dt_day;
         u_char dt_wday; /* Day of week */          u_char dt_wday; /* Day of week */
Line 46  struct clock_ymdhms {
Line 46  struct clock_ymdhms {
 };  };
   
 time_t  clock_ymdhms_to_secs(struct clock_ymdhms *);  time_t  clock_ymdhms_to_secs(struct clock_ymdhms *);
 void    clock_secs_to_ymdhms(time_t, struct clock_ymdhms *);  int     clock_secs_to_ymdhms(time_t, struct clock_ymdhms *);
   
 /*  /*
  * BCD to binary and binary to BCD.   * BCD to binary and binary to BCD.

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.21.38.1

CVSweb <webmaster@jp.NetBSD.org>