From a66f971a7cdea4bf1d9f6390e12f950f41ee5595 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 12 Sep 2012 13:06:40 +0200 Subject: libmm-common: added common utils from core Moved the utils to play with binary to hex strings into libmm-common. --- src/mm-sim.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/mm-sim.c') diff --git a/src/mm-sim.c b/src/mm-sim.c index 7cdb356b..6503d342 100644 --- a/src/mm-sim.c +++ b/src/mm-sim.c @@ -29,7 +29,6 @@ #include "mm-sim.h" #include "mm-base-modem-at.h" #include "mm-base-modem.h" -#include "mm-utils.h" #include "mm-log.h" #include "mm-modem-helpers.h" #include "mm-marshal.h" @@ -1178,7 +1177,7 @@ parse_mnc_length (const gchar *response, } /* Convert hex string to binary */ - bin = utils_hexstr2bin (hex, &buflen); + bin = mm_utils_hexstr2bin (hex, &buflen); if (!bin || buflen < 4) { g_set_error (error, MM_CORE_ERROR, @@ -1315,7 +1314,7 @@ parse_spn (const gchar *response, } /* Convert hex string to binary */ - bin = utils_hexstr2bin (hex, &buflen); + bin = mm_utils_hexstr2bin (hex, &buflen); if (!bin) { g_set_error (error, MM_CORE_ERROR, -- cgit v1.2.3-70-g09d2