Make call_desc[] extern since it's also defined in layer4/i4b_l4mgmt.c

which was causing the link of the kernel to fail. Since layer4/i4b_l4mgmt.c
is always required by i4b and layer3/i4b_q931.c is only needed when a
passive card is present it makes sense to have the declaration in the
former file only.

No MFC required since the problem only became apparent after a change to
the compile options in -current which AFAIK wasn't made in -stable.
This commit is contained in:
Gary Jennejohn 2002-01-13 19:16:52 +00:00
parent 63f901ef53
commit 4c6aff87c8

View File

@ -77,7 +77,8 @@
unsigned int i4b_l3_debug = L3_DEBUG_DEFAULT;
call_desc_t call_desc[N_CALL_DESC]; /* call descriptor array */
/* this is declared in layer4/i4b_l4mgmt.c, which is always required */
extern call_desc_t call_desc[N_CALL_DESC]; /* call descriptor array */
ctrl_desc_t ctrl_desc[MAX_CONTROLLERS]; /* controller description array */
int utoc_tab[MAX_CONTROLLERS]; /* unit to controller conversion */