journal: properly mark two definitions that are deprecated with GCC attributes for that

This commit is contained in:
Lennart Poettering
2020-01-31 15:02:00 +01:00
parent e7238caf0c
commit 68312977db
5 changed files with 24 additions and 5 deletions
+3
View File
@@ -6,6 +6,9 @@ for header in sys.argv[2:]:
print('#include "{}"'.format(header.split('/')[-1]))
print('''
/* We want to check deprecated symbols too, without complaining */
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
const void* symbols[] = {''')
for line in open(sys.argv[1]):