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