what.c (87677) | what.c (92922) |
---|---|
1/* 2 * Copyright (c) 1980, 1988, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 19 unchanged lines hidden (view full) --- 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 34#include <sys/cdefs.h> 35 | 1/* 2 * Copyright (c) 1980, 1988, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 19 unchanged lines hidden (view full) --- 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 34#include <sys/cdefs.h> 35 |
36__FBSDID("$FreeBSD: head/usr.bin/what/what.c 87677 2001-12-11 22:25:43Z markm $"); | 36__FBSDID("$FreeBSD: head/usr.bin/what/what.c 92922 2002-03-22 01:42:45Z imp $"); |
37 38#ifndef lint 39static const char copyright[] = 40"@(#) Copyright (c) 1980, 1988, 1993\n\ 41 The Regents of the University of California. All rights reserved.\n"; 42#endif 43 44#ifndef lint 45static const char sccsid[] = "@(#)what.c 8.1 (Berkeley) 6/6/93"; 46#endif 47 48#include <err.h> 49#include <stdio.h> 50#include <stdlib.h> 51#include <unistd.h> 52 53static int sflag; 54static int found; 55 | 37 38#ifndef lint 39static const char copyright[] = 40"@(#) Copyright (c) 1980, 1988, 1993\n\ 41 The Regents of the University of California. All rights reserved.\n"; 42#endif 43 44#ifndef lint 45static const char sccsid[] = "@(#)what.c 8.1 (Berkeley) 6/6/93"; 46#endif 47 48#include <err.h> 49#include <stdio.h> 50#include <stdlib.h> 51#include <unistd.h> 52 53static int sflag; 54static int found; 55 |
56void search __P((void)); 57static void usage __P((void)); | 56void search(void); 57static void usage(void); |
58 59/* 60 * what 61 */ 62int 63main(argc, argv) 64 int argc; 65 char **argv; --- 57 unchanged lines hidden --- | 58 59/* 60 * what 61 */ 62int 63main(argc, argv) 64 int argc; 65 char **argv; --- 57 unchanged lines hidden --- |