aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ipc-modem.h
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-02-09 11:23:56 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-03-28 20:50:43 +0200
commit73605d5cd82731ae5c38cb57e658cac84f4f1d71 (patch)
treeb41ba266d3daad4b1f9fdc15a4a364c6313dad2b /tools/ipc-modem.h
parent40818e0370c423942062fa81c7d168ebef60e04d (diff)
downloadhardware_replicant_libsamsung-ipc-73605d5cd82731ae5c38cb57e658cac84f4f1d71.tar.gz
hardware_replicant_libsamsung-ipc-73605d5cd82731ae5c38cb57e658cac84f4f1d71.tar.bz2
hardware_replicant_libsamsung-ipc-73605d5cd82731ae5c38cb57e658cac84f4f1d71.zip
tools: ipc-modem: get rid of call_number global variable
Since we now have a private struct for all the data we need, we don't need to use global variables anymore. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'tools/ipc-modem.h')
-rw-r--r--tools/ipc-modem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/ipc-modem.h b/tools/ipc-modem.h
index ec8e78c..e74b93a 100644
--- a/tools/ipc-modem.h
+++ b/tools/ipc-modem.h
@@ -44,6 +44,7 @@ enum log_target {
struct ipc_modem_data {
struct ipc_client *client;
+ char call_number[14];
enum command command;
bool debug;
bool dry_run;