Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 1 | From 275fe9da663193a843de450f03e810daedc06955 Mon Sep 17 00:00:00 2001 |
| 2 | From: Aaron Conole <aconole@redhat.com> |
| 3 | Date: Mon, 3 Aug 2020 15:25:38 -0400 |
| 4 | Subject: [PATCH 7/9] lldp_8021qaz: extern config object |
| 5 | |
| 6 | The config object only exists as part of the config translation unit |
| 7 | so remove the extra config object in the 8021qaz module. |
| 8 | |
| 9 | Signed-off-by: Aaron Conole <aconole@redhat.com> |
| 10 | --- |
| 11 | lldp_8021qaz.c | 2 +- |
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 13 | |
| 14 | diff --git a/lldp_8021qaz.c b/lldp_8021qaz.c |
| 15 | index a42fd11..673d758 100644 |
| 16 | --- a/lldp_8021qaz.c |
| 17 | +++ b/lldp_8021qaz.c |
| 18 | @@ -49,7 +49,7 @@ |
| 19 | |
| 20 | |
| 21 | struct lldp_head lldp_head; |
| 22 | -struct config_t lldpad_cfg; |
| 23 | +extern config_t lldpad_cfg; |
| 24 | extern bool read_only_8021qaz; |
| 25 | |
| 26 | static int ieee8021qaz_check_pending(struct port *port, struct lldp_agent *); |
| 27 | -- |
| 28 | 2.28.0 |
| 29 | |