public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
685e850
)
Removed a definition of 'struct label' as 'label_t', as it clashes with
author
dtrg
<none@none>
Fri, 21 Jul 2006 10:35:34 +0000
(10:35 +0000)
committer
dtrg
<none@none>
Fri, 21 Jul 2006 10:35:34 +0000
(10:35 +0000)
a common Posix extension on BSD systems.
mach/proto/ncg/label.c
patch
|
blob
|
history
mach/proto/ncg/label.h
patch
|
blob
|
history
diff --git
a/mach/proto/ncg/label.c
b/mach/proto/ncg/label.c
index
9c8c972
..
88e36ee
100644
(file)
--- a/
mach/proto/ncg/label.c
+++ b/
mach/proto/ncg/label.c
@@
-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;
diff --git
a/mach/proto/ncg/label.h
b/mach/proto/ncg/label.h
index
3eed673
..
96c290b
100644
(file)
--- a/
mach/proto/ncg/label.h
+++ b/
mach/proto/ncg/label.h
@@
-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();