version 1.18, 2003/06/03 02:56:16 |
version 1.19, 2003/06/10 22:20:51 |
|
|
void usage(void); |
void usage(void); |
|
|
int |
int |
main(argc, argv) |
main(int argc, char *argv[]) |
int argc; |
|
char *argv[]; |
|
{ |
{ |
int ch, eval; |
int ch, eval; |
|
|
|
|
* object files as input. |
* object files as input. |
*/ |
*/ |
int |
int |
process_file(count, fname) |
process_file(int count, char *fname) |
int count; |
|
char *fname; |
|
{ |
{ |
struct exec exec_head; |
struct exec exec_head; |
FILE *fp; |
FILE *fp; |
|
|
* show symbols in the given archive file |
* show symbols in the given archive file |
*/ |
*/ |
int |
int |
show_archive(count, fname, fp) |
show_archive(int count, char *fname, FILE *fp) |
int count; |
|
char *fname; |
|
FILE *fp; |
|
{ |
{ |
struct ar_hdr ar_head; |
struct ar_hdr ar_head; |
struct exec exec_head; |
struct exec exec_head; |
|
|
} |
} |
|
|
int |
int |
show_objfile(count, name, fp) |
show_objfile(int count, char *name, FILE *fp) |
int count; |
|
char *name; |
|
FILE *fp; |
|
{ |
{ |
static int first = 1; |
static int first = 1; |
struct exec head; |
struct exec head; |
|
|
} |
} |
|
|
void |
void |
usage() |
usage(void) |
{ |
{ |
(void)fprintf(stderr, "usage: size [-tw] [file ...]\n"); |
(void)fprintf(stderr, "usage: size [-tw] [file ...]\n"); |
exit(1); |
exit(1); |