No longer use ushort
This commit is contained in:
parent
b23ed92d7e
commit
70b535c368
|
@ -225,7 +225,7 @@ emits(section) struct outsect *section ; {
|
|||
*/
|
||||
names()
|
||||
{
|
||||
register ushort n = outhead.oh_nname - outhead.oh_nsect;
|
||||
register unsigned n = outhead.oh_nname - outhead.oh_nsect;
|
||||
int type = 0 ;
|
||||
struct outname outname ;
|
||||
char buffer[100] ;
|
||||
|
|
|
@ -51,7 +51,7 @@ show(headp)
|
|||
extern char *myalloc();
|
||||
|
||||
printf("Version %d\n", headp->oh_stamp);
|
||||
showflags(headp->oh_flags);
|
||||
showflags((unsigned) headp->oh_flags);
|
||||
/*
|
||||
* Show all sections.
|
||||
*/
|
||||
|
@ -98,7 +98,7 @@ show(headp)
|
|||
* Show flags from header.
|
||||
*/
|
||||
showflags(flagword)
|
||||
ushort flagword;
|
||||
unsigned flagword;
|
||||
{
|
||||
if (flagword & HF_LINK) printf("unresolved references left\n");
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ char **argv;
|
|||
{
|
||||
struct outhead buf;
|
||||
struct outsect sbuf;
|
||||
ushort nrsect;
|
||||
unsigned short nrsect;
|
||||
long sum;
|
||||
int gorp;
|
||||
|
||||
|
|
Loading…
Reference in a new issue