Print this page
5218 posix definition of NULL
correct unistd.h and iso/stddef_iso.h
update gate source affected

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libtnfctl/elf.c
          +++ new/usr/src/lib/libtnfctl/elf.c
↓ open down ↓ 79 lines elided ↑ open up ↑
  80   80          prb_status_t    prbstat = PRB_STATUS_OK;
  81   81          int             miscstat;
  82   82          int             objfd;
  83   83          int             num_dynentries = 0;
  84   84          uintptr_t       dynamic_addr;
  85   85          uintptr_t       baseaddr;
  86   86          uintptr_t       dentry_addr;
  87   87          Elf3264_Dyn     *dynam_tab = NULL;
  88   88          long            dynam_tab_size;
  89   89  
  90      -        *entaddr_p = NULL;
       90 +        *entaddr_p = (uintptr_t)NULL;
  91   91  
  92   92          prbstat = prb_mainobj_get(hndl->proc_p, &objfd, &baseaddr);
  93   93          if (prbstat)
  94   94                  return (_tnfctl_map_to_errcode(prbstat));
  95   95  
  96   96          /* find the address of the symbol _DYNAMIC */
  97   97          prexstat = _tnfctl_sym_find_in_obj(objfd, baseaddr, "_DYNAMIC",
  98   98                          &dynamic_addr);
  99   99          if (prexstat) {
 100  100                  prexstat = TNFCTL_ERR_NOTDYNAMIC;
↓ open down ↓ 144 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX