build: Disable `unneeded-internal-declaration` warning

Change-Id: If14cd245be6e6e35023f70e6e96b71e3c05b5db6
diff --git a/.waf-tools/default-compiler-flags.py b/.waf-tools/default-compiler-flags.py
index 0ffaa9d..bdf3b19 100644
--- a/.waf-tools/default-compiler-flags.py
+++ b/.waf-tools/default-compiler-flags.py
@@ -17,7 +17,7 @@
     else:
         defaultFlags += ['-std=c++03']
 
-    defaultFlags += ['-pedantic', '-Wall', '-Wno-long-long']
+    defaultFlags += ['-pedantic', '-Wall', '-Wno-long-long', '-Wno-unneeded-internal-declaration']
 
     if conf.options.debug:
         conf.define('_DEBUG', 1)