[BACK]Return to ctfconv.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ctfconv

Diff for /src/usr.bin/ctfconv/ctfconv.c between version 1.11 and 1.12

version 1.11, 2017/09/29 09:30:42 version 1.12, 2017/09/29 16:05:53
Line 59 
Line 59 
 /* elf.c */  /* elf.c */
 int              iself(const char *, size_t);  int              iself(const char *, size_t);
 int              elf_getshstab(const char *, size_t, const char **, size_t *);  int              elf_getshstab(const char *, size_t, const char **, size_t *);
 ssize_t          elf_getsymtab(const char *, const char *, size_t,  ssize_t          elf_getsymtab(const char *, size_t, const char *, size_t,
                      const Elf_Sym **, size_t *);                       const Elf_Sym **, size_t *);
 ssize_t          elf_getsection(char *, size_t, const char *, const char *,  ssize_t          elf_getsection(char *, size_t, const char *, const char *,
                      size_t, const char **, size_t *);                       size_t, const char **, size_t *);
Line 222 
Line 222 
                 return 1;                  return 1;
   
         /* Find symbol table location and number of symbols. */          /* Find symbol table location and number of symbols. */
         if (elf_getsymtab(p, shstab, shstabsz, &symtab, &nsymb) == -1)          if (elf_getsymtab(p, filesize, shstab, shstabsz, &symtab, &nsymb) == -1)
                 warnx("symbol table not found");                  warnx("symbol table not found");
   
         /* Find string table location and size. */          /* Find string table location and size. */

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12