aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-probe-at.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-01-31 10:45:54 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-01-31 15:18:35 +0100
commit9e24226364f9c635160cdb0ca8a404781091ba7b (patch)
treef8aaeddf6c096a231158b3315736b41d459b2c1d /src/mm-port-probe-at.h
parentaccd1a5841bafc81aa87db46eb35a8255ced4e22 (diff)
port-probe: MMPortProbeAtCommand always has constant command strings
Diffstat (limited to 'src/mm-port-probe-at.h')
-rw-r--r--src/mm-port-probe-at.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mm-port-probe-at.h b/src/mm-port-probe-at.h
index 359a6f5d..851bf0fb 100644
--- a/src/mm-port-probe-at.h
+++ b/src/mm-port-probe-at.h
@@ -52,7 +52,7 @@ typedef gboolean (* MMPortProbeAtResponseProcessor) (const gchar *command,
/* Struct to configure port probing commands */
typedef struct {
/* The AT command */
- gchar *command;
+ const gchar *command;
/* Timeout of the command, in seconds */
guint timeout;
/* The response processor */
@@ -76,5 +76,4 @@ gboolean mm_port_probe_response_processor_is_at (const gchar *command,
GVariant **result,
GError **result_error);
-
#endif /* MM_PORT_PROBE_AT_H */