Fix various deprecation warnings in code and tests

This code uses, or tests, deprecated functions, types or macros; so
needs to be compiled with deprecation warnings disabled.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall
2019-05-27 19:30:31 +01:00
parent f0fb7b77a1
commit e62e89f2f8
4 changed files with 15 additions and 11 deletions

View File

@@ -1,6 +1,5 @@
#undef G_DISABLE_ASSERT
#undef G_LOG_DOMAIN
#undef G_DISABLE_DEPRECATED
#include <time.h>
#include <stdlib.h>