aboutsummaryrefslogtreecommitdiffstats
path: root/src/signal.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-23 10:55:39 +0000
committerSaturneric <[email protected]>2022-01-23 10:55:39 +0000
commit06617014c2f87891cc65cdc04f2c3767877989e6 (patch)
treedfe2679655a5ae725fde4937443e1e0ad6aee762 /src/signal.cpp
parent<refactor>(ui): tidy up codes and comments. (diff)
downloadGpgFrontend-06617014c2f87891cc65cdc04f2c3767877989e6.tar.gz
GpgFrontend-06617014c2f87891cc65cdc04f2c3767877989e6.zip
<refactor>(ui): tidy up codes and comments.
1. tidy up src.
Diffstat (limited to 'src/signal.cpp')
-rw-r--r--src/signal.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/signal.cpp b/src/signal.cpp
index 8e624556..5df80d51 100644
--- a/src/signal.cpp
+++ b/src/signal.cpp
@@ -32,6 +32,11 @@
extern jmp_buf recover_env;
+/**
+ * @brief
+ *
+ * @param sig
+ */
void handle_signal(int sig) {
static int _repeat_handle_num = 1, last_sig = sig;
LOG(INFO) << "signal caught" << sig;