regexp.c (36053) | regexp.c (87693) |
---|---|
1/* 2 * Copyright (c) 1980, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 18 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 */ 34 | 1/* 2 * Copyright (c) 1980, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 18 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 */ 34 |
35#include <sys/cdefs.h> 36 37__FBSDID("$FreeBSD: head/usr.bin/vgrind/regexp.c 87693 2001-12-11 23:10:26Z markm $"); 38 |
|
35#ifndef lint | 39#ifndef lint |
36static char copyright[] = | 40static const char copyright[] = |
37"@(#) Copyright (c) 1980, 1993\n\ 38 The Regents of the University of California. All rights reserved.\n"; | 41"@(#) Copyright (c) 1980, 1993\n\ 42 The Regents of the University of California. All rights reserved.\n"; |
39#endif /* not lint */ | 43#endif |
40 41#ifndef lint | 44 45#ifndef lint |
42static char sccsid[] = "@(#)regexp.c 8.1 (Berkeley) 6/6/93"; 43#endif /* not lint */ | 46static const char sccsid[] = "@(#)regexp.c 8.1 (Berkeley) 6/6/93"; 47#endif |
44 45#include <ctype.h> 46#include <stdlib.h> 47#include <string.h> | 48 49#include <ctype.h> 50#include <stdlib.h> 51#include <string.h> |
52 |
|
48#include "extern.h" 49 50#define FALSE 0 51#define TRUE !(FALSE) 52#define NIL 0 53 54static void expconv __P((void)); 55 --- 543 unchanged lines hidden --- | 53#include "extern.h" 54 55#define FALSE 0 56#define TRUE !(FALSE) 57#define NIL 0 58 59static void expconv __P((void)); 60 --- 543 unchanged lines hidden --- |