Deleted Added
full compact
crunched_main.c (8664) crunched_main.c (8857)
1/*
2 * Copyright (c) 1994 University of Maryland
3 * All Rights Reserved.
4 *
5 * Permission to use, copy, modify, distribute, and sell this software and its
6 * documentation for any purpose is hereby granted without fee, provided that
7 * the above copyright notice appear in all copies and that both that
8 * copyright notice and this permission notice appear in supporting

--- 10 unchanged lines hidden (view full) ---

19 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
20 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21 *
22 * Author: James da Silva, Systems Design and Analysis Group
23 * Computer Science Department
24 * University of Maryland at College Park
25 */
26/*
1/*
2 * Copyright (c) 1994 University of Maryland
3 * All Rights Reserved.
4 *
5 * Permission to use, copy, modify, distribute, and sell this software and its
6 * documentation for any purpose is hereby granted without fee, provided that
7 * the above copyright notice appear in all copies and that both that
8 * copyright notice and this permission notice appear in supporting

--- 10 unchanged lines hidden (view full) ---

19 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
20 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21 *
22 * Author: James da Silva, Systems Design and Analysis Group
23 * Computer Science Department
24 * University of Maryland at College Park
25 */
26/*
27 * crunched_main.c - main program for crunched binaries, it branches to a
27 * crunched_main.c - main program for crunched binaries, it branches to a
28 * particular subprogram based on the value of argv[0]. Also included
29 * is a little program invoked when the crunched binary is called via
30 * its EXECNAME. This one prints out the list of compiled-in binaries,
31 * or calls one of them based on argv[1]. This allows the testing of
32 * the crunched binary without creating all the links.
33 */
34#include <stdio.h>
35#include <string.h>

--- 43 unchanged lines hidden (view full) ---

79}
80
81
82int crunched_main(int argc, char **argv)
83{
84 struct stub *ep;
85 int columns, len;
86
28 * particular subprogram based on the value of argv[0]. Also included
29 * is a little program invoked when the crunched binary is called via
30 * its EXECNAME. This one prints out the list of compiled-in binaries,
31 * or calls one of them based on argv[1]. This allows the testing of
32 * the crunched binary without creating all the links.
33 */
34#include <stdio.h>
35#include <string.h>

--- 43 unchanged lines hidden (view full) ---

79}
80
81
82int crunched_main(int argc, char **argv)
83{
84 struct stub *ep;
85 int columns, len;
86
87 if(argc <= 1)
87 if(argc <= 1)
88 crunched_usage();
89
90 return main(--argc, ++argv);
91}
92
93
94int crunched_usage()
95{

--- 22 unchanged lines hidden ---
88 crunched_usage();
89
90 return main(--argc, ++argv);
91}
92
93
94int crunched_usage()
95{

--- 22 unchanged lines hidden ---