---
 gatchat/gatresult.c |   11 -----------
 gatchat/gatresult.h |   11 +++++++++++
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/gatchat/gatresult.c b/gatchat/gatresult.c
index 8a6dfae..6bd3ff1 100644
--- a/gatchat/gatresult.c
+++ b/gatchat/gatresult.c
@@ -94,17 +94,6 @@ const char *g_at_result_iter_raw_line(GAtResultIter *iter)
        return line;
 }
 
-static inline int skip_to_next_field(const char *line, int pos, int len)
-{
-       if (pos < len && line[pos] == ',')
-               pos += 1;
-
-       while (pos < len && line[pos] == ' ')
-               pos += 1;
-
-       return pos;
-}
-
 gboolean g_at_result_iter_next_unquoted_string(GAtResultIter *iter,
                                                const char **str)
 {
diff --git a/gatchat/gatresult.h b/gatchat/gatresult.h
index a74741f..62a2b79 100644
--- a/gatchat/gatresult.h
+++ b/gatchat/gatresult.h
@@ -68,6 +68,17 @@ const char *g_at_result_pdu(GAtResult *result);
 
 gint g_at_result_num_response_lines(GAtResult *result);
 
+static inline int skip_to_next_field(const char *line, int pos, int len)
+{
+       if (pos < len && line[pos] == ',')
+               pos += 1;
+
+       while (pos < len && line[pos] == ' ')
+               pos += 1;
+
+       return pos;
+}
+
 #ifdef __cplusplus
 }
 #endif
-- 
1.7.0.4

_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to