[BACK]Return to README CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc

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

Diff for /src/lib/libc/README between version 1.5 and 1.6

version 1.5, 2015/07/11 15:23:57 version 1.6, 2017/01/12 00:38:25
Line 217  compiled with the old signature, will co
Line 217  compiled with the old signature, will co
   
    Then compat_time.c defines `time' normally:     Then compat_time.c defines `time' normally:
   
         time_t          int32_t
         time(time_t *t)          time(int32_t *t)
         {          {
         ...          ...
   
    Again, macro expansion replaces `time' by `_time', but since there     Again, macro expansion replaces `time' by `_time', but since there
    is no __RENAME directive in <compat/include/time.h>, the resulting     is no __RENAME directive in <compat/include/time.h>, the resulting
    ELF global symbol is `_time'.     ELF global symbol is `_time'.  (Actually, compat_time.c just has
      `#define time_t int32_t' and `#include "gen/time.c"' to get the same
      text of the definition of time.  The above definition is what we get
      effectively by substituting int32_t for the type time_t.)
   
    Finally, alongside the definition in compat_time.c is     Finally, alongside the definition in compat_time.c is
   

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

CVSweb <webmaster@jp.NetBSD.org>