Mercurial > hg > xemacs-beta
diff dynodump/dynodump.c @ 2:ac2d302a0011 r19-15b2
Import from CVS: tag r19-15b2
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:46:35 +0200 |
parents | 376386a54a3c |
children | 131b0175ea99 |
line wrap: on
line diff
--- a/dynodump/dynodump.c Mon Aug 13 08:45:53 2007 +0200 +++ b/dynodump/dynodump.c Mon Aug 13 08:46:35 2007 +0200 @@ -73,7 +73,7 @@ * N.B. The above commentary is not quite correct in the flags have been hardwired * to RTLD_SAVREL. */ -#pragma ident "@(#) $Id: dynodump.c,v 1.1.1.1 1996/12/18 03:37:22 steve Exp $ - SMI" +#pragma ident "@(#) $Id: dynodump.c,v 1.1.1.2 1996/12/18 03:48:00 steve Exp $ - SMI" #include <sys/param.h> #include <sys/procfs.h> @@ -99,6 +99,7 @@ return (1); } +int dynodump (const char * file); int dynodump(const char * file) { @@ -228,7 +229,7 @@ * Traverse each section from the input file. */ for (ndx = 1, scn = 0; - _icache->c_scn = elf_nextscn(ielf, scn); + (_icache->c_scn = elf_nextscn(ielf, scn)); ndx++, scn = _icache->c_scn, _icache++) { if ((_icache->c_shdr = shdr = elf_getshdr(_icache->c_scn)) == NULL) @@ -468,7 +469,7 @@ */ _ndx = _addr = 0; for (ndx = 1, scn = 0; - _ocache->c_scn = elf_nextscn(oelf, scn); + (_ocache->c_scn = elf_nextscn(oelf, scn)); ndx++, scn = _ocache->c_scn, _ocache++, _icache++) { const char *strs;