mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-01-13 13:32:53 +08:00
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:
parent
f6308abf87
commit
33cc733abe
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user