mksyntax.c (b97fa2ef508bb1cc99621edb8b6d03845b55b8bd) | mksyntax.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$ | 36 * $Id: mksyntax.c,v 1.9 1997/02/22 13:58:37 peter Exp $ |
37 */ 38 39#ifndef lint 40static char const copyright[] = 41"@(#) Copyright (c) 1991, 1993\n\ 42 The Regents of the University of California. All rights reserved.\n"; 43#endif /* not lint */ 44 --- 67 unchanged lines hidden (view full) --- 112static void init __P((void)); 113static void add __P((char *, char *)); 114static void print __P((char *)); 115static void output_type_macros __P((void)); 116static void digit_convert __P((void)); 117 118int 119main(argc, argv) | 37 */ 38 39#ifndef lint 40static char const copyright[] = 41"@(#) Copyright (c) 1991, 1993\n\ 42 The Regents of the University of California. All rights reserved.\n"; 43#endif /* not lint */ 44 --- 67 unchanged lines hidden (view full) --- 112static void init __P((void)); 113static void add __P((char *, char *)); 114static void print __P((char *)); 115static void output_type_macros __P((void)); 116static void digit_convert __P((void)); 117 118int 119main(argc, argv) |
120 int argc; 121 char **argv; | 120 int argc __unused; 121 char **argv __unused; |
122{ 123 char c; 124 char d; 125 int sign; 126 int i; 127 char buf[80]; 128 int pos; 129 static char digit[] = "0123456789"; --- 271 unchanged lines hidden --- | 122{ 123 char c; 124 char d; 125 int sign; 126 int i; 127 char buf[80]; 128 int pos; 129 static char digit[] = "0123456789"; --- 271 unchanged lines hidden --- |