aboutsummaryrefslogtreecommitdiff
path: root/net/frr/patches/098-fix_mips_libyang.patch
blob: b69b6e4373eb1da761f4701b395e60b8ce08df4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/lib/northbound.h
+++ b/lib/northbound.h
@@ -627,11 +627,7 @@ struct frr_yang_module_info {
 
 		/* Priority - lower priorities are processed first. */
 		uint32_t priority;
-#if defined(__GNUC__) && ((__GNUC__ - 0) < 5) && !defined(__clang__)
 	} nodes[YANG_MODULE_MAX_NODES + 1];
-#else
-	} nodes[];
-#endif
 };
 
 /* Northbound error codes. */