Fix warnings about: . Unused variables . format mismatch in printf/scanf format string and arguments . Missing parenthesis around assignment as truth values . Clang warnings anout unknown GCC pragma
This also means importing librmt. Change-Id: Ie5b314aeaad28dca46acb64f20f2d70746ea52d0