Deleted Added
full compact
config.h (133248) config.h (134542)
1/*
2 * Copyright (c) 1980, 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

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

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)config.h 8.1 (Berkeley) 6/6/93
1/*
2 * Copyright (c) 1980, 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

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

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)config.h 8.1 (Berkeley) 6/6/93
30 * $FreeBSD: head/usr.sbin/config/config.h 133248 2004-08-07 04:19:37Z imp $
30 * $FreeBSD: head/usr.sbin/config/config.h 134542 2004-08-30 23:03:58Z peter $
31 */
32
33/*
34 * Config.
35 */
36#include <sys/types.h>
37#include <sys/queue.h>
38#include <stdlib.h>
39#include <string.h>
40
41struct file_list {
42 STAILQ_ENTRY(file_list) f_next;
43 char *f_fn; /* the name */
31 */
32
33/*
34 * Config.
35 */
36#include <sys/types.h>
37#include <sys/queue.h>
38#include <stdlib.h>
39#include <string.h>
40
41struct file_list {
42 STAILQ_ENTRY(file_list) f_next;
43 char *f_fn; /* the name */
44 int f_type; /* type or count */
44 int f_type; /* type */
45 u_char f_flags; /* see below */
46 char *f_compilewith; /* special make rule if present */
47 char *f_depends; /* additional dependancies */
48 char *f_clean; /* File list to add to clean rule */
49 char *f_needs;
50 char *f_warn; /* warning message */
51};
52

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

67#define TYPEMASK 0x7fffffff
68
69/*
70 * Attributes (flags).
71 */
72#define NO_IMPLCT_RULE 1
73#define NO_OBJ 2
74#define BEFORE_DEPEND 4
45 u_char f_flags; /* see below */
46 char *f_compilewith; /* special make rule if present */
47 char *f_depends; /* additional dependancies */
48 char *f_clean; /* File list to add to clean rule */
49 char *f_needs;
50 char *f_warn; /* warning message */
51};
52

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

67#define TYPEMASK 0x7fffffff
68
69/*
70 * Attributes (flags).
71 */
72#define NO_IMPLCT_RULE 1
73#define NO_OBJ 2
74#define BEFORE_DEPEND 4
75#define NEED_COUNT 8
76#define ISDUP 16
77#define NOWERROR 32
75#define ISDUP 8
76#define NOWERROR 16
78
79struct device {
80 int d_done; /* processed */
81 char *d_name; /* name of device (e.g. rk11) */
77
78struct device {
79 int d_done; /* processed */
80 char *d_name; /* name of device (e.g. rk11) */
82 int d_count; /* device count */
83#define UNKNOWN -2 /* -2 means not set yet */
84 STAILQ_ENTRY(device) d_next; /* Next one in list */
85};
86
87struct config {
88 char *s_sysname;
89};
90

--- 81 unchanged lines hidden ---
81#define UNKNOWN -2 /* -2 means not set yet */
82 STAILQ_ENTRY(device) d_next; /* Next one in list */
83};
84
85struct config {
86 char *s_sysname;
87};
88

--- 81 unchanged lines hidden ---