X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=rmac.c;h=8dde4c6d9a34925a534de81a25cd2c7fb8b8b8b4;hp=9afb10a7cec5fe4714ce55e054cc30a062b16ced;hb=9fb8931331db981c04e062a3ad36c0d79acb30ae;hpb=627f87694bf2d7855b8e3cdafe1bf2693f1b60ad diff --git a/rmac.c b/rmac.c index 9afb10a..8dde4c6 100644 --- a/rmac.c +++ b/rmac.c @@ -300,6 +300,7 @@ int rmac_qsort(char * base, int n, int size, int (*compar)()) } +#if 0 // // Allocate memory; Panic and Quit if we Run Out // @@ -337,6 +338,7 @@ char * amem(LONG amount) return p; } +#endif // @@ -851,27 +853,19 @@ int get_endianess(void) // int main(int argc, char ** argv) { - int status; - int i; - perm_verb_flag = 0; // Clobber "permanent" verbose flag cmdlnexec = argv[0]; // Obtain executable name endian = get_endianess(); // Get processor endianess - for(i=0; i 1) { - status = process(argc - 1, argv + 1); - } - else - { - display_version(); - display_help(); + return process(argc - 1, argv + 1); } - return status; + display_version(); + display_help(); + + return 0; }