stream_cdda: suppress -Wstrict-prototypes from cdio

This commit is contained in:
Kacper Michajłow 2023-10-14 16:12:17 +02:00 committed by Dudemanguy
parent 1ea1359a82
commit 4e6325d012
1 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,8 @@
#define OLD_API #define OLD_API
#endif #endif
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-prototypes"
#ifdef OLD_API #ifdef OLD_API
#include <cdio/cdda.h> #include <cdio/cdda.h>
#include <cdio/paranoia.h> #include <cdio/paranoia.h>
@ -32,6 +34,7 @@
#include <cdio/paranoia/cdda.h> #include <cdio/paranoia/cdda.h>
#include <cdio/paranoia/paranoia.h> #include <cdio/paranoia/paranoia.h>
#endif #endif
#pragma GCC diagnostic pop
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>