No longer use ushort

This commit is contained in:
ceriel 1991-12-18 09:45:26 +00:00
parent b23ed92d7e
commit 70b535c368
3 changed files with 4 additions and 4 deletions

View file

@ -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] ;

View file

@ -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");
}

View file

@ -17,7 +17,7 @@ char **argv;
{
struct outhead buf;
struct outsect sbuf;
ushort nrsect;
unsigned short nrsect;
long sum;
int gorp;