Deleted Added
full compact
parse.y (291115) parse.y (291127)
1%{
2/*-
3 * Copyright (c) 1995 Alex Tatmanjants <alex@elvisti.kiev.ua>
4 * at Electronni Visti IA, Kiev, Ukraine.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 */
28
29#include <sys/cdefs.h>
1%{
2/*-
3 * Copyright (c) 1995 Alex Tatmanjants <alex@elvisti.kiev.ua>
4 * at Electronni Visti IA, Kiev, Ukraine.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 */
28
29#include <sys/cdefs.h>
30__FBSDID("$FreeBSD: head/usr.bin/colldef/parse.y 291115 2015-11-20 23:15:05Z bapt $");
30__FBSDID("$FreeBSD: head/usr.bin/colldef/parse.y 291127 2015-11-21 10:52:32Z bapt $");
31
32#include <sys/types.h>
33#include <arpa/inet.h>
34#include <err.h>
31
32#include <sys/types.h>
33#include <arpa/inet.h>
34#include <err.h>
35#include <limits.h>
35#include <stdarg.h>
36#include <stdio.h>
36#include <stdarg.h>
37#include <stdio.h>
38#include <stdlib.h>
37#include <string.h>
38#include <unistd.h>
39#include <sysexits.h>
39#include <string.h>
40#include <unistd.h>
41#include <sysexits.h>
40#include "collate.h"
41#include "common.h"
42
43extern FILE *yyin;
44void yyerror(const char *fmt, ...) __printflike(1, 2);
45int yyparse(void);
46int yylex(void);
47static void usage(void);
48static void collate_print_tables(void);

--- 354 unchanged lines hidden ---
42#include "common.h"
43
44extern FILE *yyin;
45void yyerror(const char *fmt, ...) __printflike(1, 2);
46int yyparse(void);
47int yylex(void);
48static void usage(void);
49static void collate_print_tables(void);

--- 354 unchanged lines hidden ---