summaryrefslogtreecommitdiffstats
path: root/net/frr/patches/098-fix_mips_libyang.patch
blob: 05ac6fbe8bae60093345def9a8e1fd3591bfde94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/lib/northbound.h
+++ b/lib/northbound.h
@@ -747,11 +747,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
 };
 
 /* Default priority. */