replaced size_t by siz_t; size_t is reserved for ANSI C

This commit is contained in:
ceriel 1989-08-21 10:17:49 +00:00
parent 3c03d3f68c
commit a5f950bac7
4 changed files with 7 additions and 7 deletions

View file

@ -49,8 +49,8 @@ main(argc, argv)
}
getcore() {
register size_t *p;
size_t bytes;
register siz_t *p;
siz_t bytes;
register unsigned n ;
register char *base ;

View file

@ -63,7 +63,7 @@ typedef struct loc_label locl_t;
typedef struct glob_label glob_t;
typedef struct rel relc_t;
typedef struct procstat stat_t;
typedef struct sizes size_t;
typedef struct sizes siz_t;
typedef struct ar_hdr arch_t;
typedef struct procs proc_t;
typedef struct proctab ptab_t;

View file

@ -127,11 +127,11 @@ char *progname; /* argv[0] */
char *curfile = 0; /* name of current file */
char *eout = "e.out";
arch_t archhdr;
size_t sizes[NDEFAULT] = {
siz_t sizes[NDEFAULT] = {
/* mlab, glab,mproc,xproc, proc */
{ 151, 29, 31, 73, 130 },
{ 307, 127, 151, 401, 460 },
{ 601, 251, 151, 401, 600 },
{1601, 1601, 1601, 1601, 2000 }
};
size_t *oursize = &sizes[1] ; /* point to selected sizes */
siz_t *oursize = &sizes[1] ; /* point to selected sizes */

View file

@ -47,7 +47,7 @@ extern char string[];
*/
extern glob_t *lastglosym;
extern glob_t *curglosym;
extern size_t *oursize;
extern siz_t *oursize;
extern relc_t *f_data;
extern relc_t *l_data;
extern relc_t *f_text;
@ -109,7 +109,7 @@ extern char *progname;
extern char *curfile;
extern char *eout;
extern arch_t archhdr;
extern size_t sizes[];
extern siz_t sizes[];
extern char linesize[];