mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 06:34:44 +00:00
[zebra] trivia: static qualifiers for metaq
2008-08-17 Stephen Hemminger <stephen.hemminger@vyatta.com> * zebra_rib.c: (process_subq) mark static (rib_meta_queue_add) ditto (meta_queue_new) ditt Signed-off-by: Paul Jakma <paul@quagga.net>
This commit is contained in:
parent
d145bc008a
commit
ef9b113e2d
@ -1201,7 +1201,7 @@ end:
|
|||||||
* it and processed by rib_process(). Don't process more, than one RN record; operate
|
* it and processed by rib_process(). Don't process more, than one RN record; operate
|
||||||
* only in the specified sub-queue.
|
* only in the specified sub-queue.
|
||||||
*/
|
*/
|
||||||
unsigned int
|
static unsigned int
|
||||||
process_subq (struct list * subq, u_char qindex)
|
process_subq (struct list * subq, u_char qindex)
|
||||||
{
|
{
|
||||||
struct listnode *lnode;
|
struct listnode *lnode;
|
||||||
@ -1238,7 +1238,8 @@ meta_queue_process (struct work_queue *dummy, void *data)
|
|||||||
/* Look into the RN and queue it into one or more priority queues, increasing the size
|
/* Look into the RN and queue it into one or more priority queues, increasing the size
|
||||||
* for each data push done.
|
* for each data push done.
|
||||||
*/
|
*/
|
||||||
void rib_meta_queue_add (struct meta_queue *mq, struct route_node *rn)
|
static void
|
||||||
|
rib_meta_queue_add (struct meta_queue *mq, struct route_node *rn)
|
||||||
{
|
{
|
||||||
u_char qindex;
|
u_char qindex;
|
||||||
struct rib *rib;
|
struct rib *rib;
|
||||||
@ -1336,8 +1337,8 @@ rib_queue_add (struct zebra_t *zebra, struct route_node *rn)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Create new meta queue. A destructor function doesn't seem to be necessary here. */
|
/* Create new meta queue. A destructor function doesn't seem to be necessary here. */
|
||||||
struct meta_queue *
|
static struct meta_queue *
|
||||||
meta_queue_new ()
|
meta_queue_new (void)
|
||||||
{
|
{
|
||||||
struct meta_queue *new;
|
struct meta_queue *new;
|
||||||
unsigned i, failed = 0;
|
unsigned i, failed = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user