projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
device.cpp: Add SR_CONF_AVG_SAMPLES.
[pulseview.git]
/
signalhandler.cpp
diff --git
a/signalhandler.cpp
b/signalhandler.cpp
index 398114d5b96f610954f5c86f8d6b833407a9812b..14706261b7d483bc0a031be43f82104549b6f5ca 100644
(file)
--- a/
signalhandler.cpp
+++ b/
signalhandler.cpp
@@
-19,9
+19,10
@@
#include "signalhandler.hpp"
#include "signalhandler.hpp"
-#include <assert.h>
-#include <signal.h>
-#include <stdlib.h>
+#include <cassert>
+#include <csignal>
+#include <cstdlib>
+
#include <sys/socket.h>
#include <unistd.h>
#include <sys/socket.h>
#include <unistd.h>
@@
-70,8
+71,7
@@
void SignalHandler::on_socket_notifier_activated()
abort();
}
abort();
}
- switch(sig_number)
- {
+ switch (sig_number) {
case SIGINT:
Q_EMIT int_received();
break;
case SIGINT:
Q_EMIT int_received();
break;