forked from Ivasoft/DSView
Remove unnecessary extern "C"s, fix build failures.
Wrapping libsigrockdecode.h in extern "C" is unecessary and will cause build failures on modern versions of glib, this fixes those failures.
This commit is contained in:
@@ -19,9 +19,7 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
extern "C" {
|
||||
#include <libsigrokdecode4DSL/libsigrokdecode.h>
|
||||
}
|
||||
|
||||
#include <vector>
|
||||
#include <assert.h>
|
||||
|
||||
@@ -19,9 +19,7 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
extern "C" {
|
||||
#include <libsigrokdecode4DSL/libsigrokdecode.h>
|
||||
}
|
||||
|
||||
#include <extdef.h>
|
||||
|
||||
|
||||
@@ -18,9 +18,7 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
extern "C" {
|
||||
#include <libsigrokdecode4DSL/libsigrokdecode.h>
|
||||
}
|
||||
|
||||
#include "decodergroupbox.h"
|
||||
#include "../data/decoderstack.h"
|
||||
|
||||
Reference in New Issue
Block a user