1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Lib: resource management converted to a typed list

This commit is contained in:
Maria Matejka
2019-10-24 12:43:37 +02:00
parent 72ce0b10bc
commit ceeb22ec27
2 changed files with 15 additions and 17 deletions

View File

@@ -14,8 +14,8 @@
/* Resource */
typedef struct resource {
node n; /* Inside resource pool */
struct resclass *class; /* Resource class */
TLIST_NODE(struct resource); /* Inside resource pool */
struct resclass *class; /* Resource class */
} resource;
/* Resource class */