replaced size_t by siz_t; size_t is reserved for ANSI C
This commit is contained in:
parent
3c03d3f68c
commit
a5f950bac7
|
@ -49,8 +49,8 @@ main(argc, argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
getcore() {
|
getcore() {
|
||||||
register size_t *p;
|
register siz_t *p;
|
||||||
size_t bytes;
|
siz_t bytes;
|
||||||
register unsigned n ;
|
register unsigned n ;
|
||||||
register char *base ;
|
register char *base ;
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ typedef struct loc_label locl_t;
|
||||||
typedef struct glob_label glob_t;
|
typedef struct glob_label glob_t;
|
||||||
typedef struct rel relc_t;
|
typedef struct rel relc_t;
|
||||||
typedef struct procstat stat_t;
|
typedef struct procstat stat_t;
|
||||||
typedef struct sizes size_t;
|
typedef struct sizes siz_t;
|
||||||
typedef struct ar_hdr arch_t;
|
typedef struct ar_hdr arch_t;
|
||||||
typedef struct procs proc_t;
|
typedef struct procs proc_t;
|
||||||
typedef struct proctab ptab_t;
|
typedef struct proctab ptab_t;
|
||||||
|
|
|
@ -127,11 +127,11 @@ char *progname; /* argv[0] */
|
||||||
char *curfile = 0; /* name of current file */
|
char *curfile = 0; /* name of current file */
|
||||||
char *eout = "e.out";
|
char *eout = "e.out";
|
||||||
arch_t archhdr;
|
arch_t archhdr;
|
||||||
size_t sizes[NDEFAULT] = {
|
siz_t sizes[NDEFAULT] = {
|
||||||
/* mlab, glab,mproc,xproc, proc */
|
/* mlab, glab,mproc,xproc, proc */
|
||||||
{ 151, 29, 31, 73, 130 },
|
{ 151, 29, 31, 73, 130 },
|
||||||
{ 307, 127, 151, 401, 460 },
|
{ 307, 127, 151, 401, 460 },
|
||||||
{ 601, 251, 151, 401, 600 },
|
{ 601, 251, 151, 401, 600 },
|
||||||
{1601, 1601, 1601, 1601, 2000 }
|
{1601, 1601, 1601, 1601, 2000 }
|
||||||
};
|
};
|
||||||
size_t *oursize = &sizes[1] ; /* point to selected sizes */
|
siz_t *oursize = &sizes[1] ; /* point to selected sizes */
|
||||||
|
|
|
@ -47,7 +47,7 @@ extern char string[];
|
||||||
*/
|
*/
|
||||||
extern glob_t *lastglosym;
|
extern glob_t *lastglosym;
|
||||||
extern glob_t *curglosym;
|
extern glob_t *curglosym;
|
||||||
extern size_t *oursize;
|
extern siz_t *oursize;
|
||||||
extern relc_t *f_data;
|
extern relc_t *f_data;
|
||||||
extern relc_t *l_data;
|
extern relc_t *l_data;
|
||||||
extern relc_t *f_text;
|
extern relc_t *f_text;
|
||||||
|
@ -109,7 +109,7 @@ extern char *progname;
|
||||||
extern char *curfile;
|
extern char *curfile;
|
||||||
extern char *eout;
|
extern char *eout;
|
||||||
extern arch_t archhdr;
|
extern arch_t archhdr;
|
||||||
extern size_t sizes[];
|
extern siz_t sizes[];
|
||||||
|
|
||||||
extern char linesize[];
|
extern char linesize[];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue