Removed a definition of 'struct label' as 'label_t', as it clashes with
a common Posix extension on BSD systems.
This commit is contained in:
parent
685e85002e
commit
db0b628497
2 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ add_label(num, height, flth)
|
|||
if (flth != TRUE && flth != FALSE)
|
||||
fatal("incorrect value for fallthrough");
|
||||
|
||||
lbl = (label_p) myalloc(sizeof(label_t));
|
||||
lbl = (label_p) myalloc(sizeof(struct label));
|
||||
lbl->lb_next = label_list;
|
||||
lbl->lb_number = num;
|
||||
lbl->lb_height = height;
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
|
||||
typedef struct label *label_p;
|
||||
|
||||
typedef struct label {
|
||||
struct label {
|
||||
label_p lb_next;
|
||||
word lb_number;
|
||||
int lb_height;
|
||||
short lb_fallthrough;
|
||||
} label_t;
|
||||
};
|
||||
|
||||
extern label_p get_label();
|
||||
|
|
Loading…
Reference in a new issue