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:
Vito Gamberini 2021-04-07 12:30:55 -04:00
parent f6308abf87
commit 33cc733abe
No known key found for this signature in database
GPG Key ID: 8B2451240D367BDF
3 changed files with 0 additions and 6 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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"