projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unneeded 'extern "C"'.
[pulseview.git]
/
pv
/
mainwindow.cpp
diff --git
a/pv/mainwindow.cpp
b/pv/mainwindow.cpp
index 35b0da57b3c9d87c14396d50bff73c495976162f..6b0fa676303052cb9478f2e1f4eaff7abd3a1bbf 100644
(file)
--- a/
pv/mainwindow.cpp
+++ b/
pv/mainwindow.cpp
@@
-18,9
+18,7
@@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-extern "C" {
#include <sigrokdecode.h>
#include <sigrokdecode.h>
-}
#include <QAction>
#include <QApplication>
#include <QAction>
#include <QApplication>
@@
-37,7
+35,6
@@
extern "C" {
#include "dialogs/about.h"
#include "view/view.h"
#include "dialogs/about.h"
#include "view/view.h"
-extern "C" {
/* __STDC_FORMAT_MACROS is required for PRIu64 and friends (in C++). */
#define __STDC_FORMAT_MACROS
#include <inttypes.h>
/* __STDC_FORMAT_MACROS is required for PRIu64 and friends (in C++). */
#define __STDC_FORMAT_MACROS
#include <inttypes.h>
@@
-45,7
+42,7
@@
extern "C" {
#include <stdarg.h>
#include <glib.h>
#include <libsigrok/libsigrok.h>
#include <stdarg.h>
#include <glib.h>
#include <libsigrok/libsigrok.h>
-}
+
namespace pv {
namespace pv {