exec.c (76ad65f7f6f6a8d06d12e3de926077a418c14fef) | exec.c (e7a0b0244d302e1d3c199fd760f49c3dfdfd3ca9) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Kenneth Almquist. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 19 unchanged lines hidden (view full) --- 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Kenneth Almquist. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 19 unchanged lines hidden (view full) --- 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * |
36 * $Id: exec.c,v 1.9 1997/02/22 13:58:25 peter Exp $ | 36 * $Id: exec.c,v 1.10 1997/04/28 03:08:37 steve Exp $ |
37 */ 38 39#ifndef lint 40static char const sccsid[] = "@(#)exec.c 8.4 (Berkeley) 6/8/95"; 41#endif /* not lint */ 42 43#include <sys/types.h> 44#include <sys/stat.h> --- 275 unchanged lines hidden (view full) --- 320 321 322 323/*** Command hashing code ***/ 324 325 326int 327hashcmd(argc, argv) | 37 */ 38 39#ifndef lint 40static char const sccsid[] = "@(#)exec.c 8.4 (Berkeley) 6/8/95"; 41#endif /* not lint */ 42 43#include <sys/types.h> 44#include <sys/stat.h> --- 275 unchanged lines hidden (view full) --- 320 321 322 323/*** Command hashing code ***/ 324 325 326int 327hashcmd(argc, argv) |
328 int argc; 329 char **argv; | 328 int argc __unused; 329 char **argv __unused; |
330{ 331 struct tblentry **pp; 332 struct tblentry *cmdp; 333 int c; 334 int verbose; 335 struct cmdentry entry; 336 char *name; 337 --- 581 unchanged lines hidden --- | 330{ 331 struct tblentry **pp; 332 struct tblentry *cmdp; 333 int c; 334 int verbose; 335 struct cmdentry entry; 336 char *name; 337 --- 581 unchanged lines hidden --- |