diff options
author | Aki Niemi <aki.niemi@nokia.com> | 2009-09-16 09:05:53 +0300 |
---|---|---|
committer | Aki Niemi <aki.niemi@nokia.com> | 2009-09-16 09:05:53 +0300 |
commit | a34849599bd7a14674f29c9d13e66780a8ac4097 (patch) | |
tree | 4317bd90bdd5dedfbdd0e27aa72d1ed533102f62 /gisi | |
parent | 795e65ad5372b77e899c6af79a9ad3abef52a906 (diff) | |
download | ofono-a34849599bd7a14674f29c9d13e66780a8ac4097.tar.gz |
Fix restrict keyword usage
Diffstat (limited to 'gisi')
-rw-r--r-- | gisi/iter.c | 2 | ||||
-rw-r--r-- | gisi/iter.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gisi/iter.c b/gisi/iter.c index e2d8d271..98825a6b 100644 --- a/gisi/iter.c +++ b/gisi/iter.c @@ -47,7 +47,7 @@ static inline void bcd_to_mccmnc(const uint8_t *bcd, char *mcc, char *mnc) mnc[3] = '\0'; } -bool g_isi_sb_iter_init(const void restrict *data, size_t len, +bool g_isi_sb_iter_init(const void *restrict data, size_t len, GIsiSubBlockIter *iter, bool longhdr) { if (!iter || !data || len == 0) diff --git a/gisi/iter.h b/gisi/iter.h index c769c050..7a854172 100644 --- a/gisi/iter.h +++ b/gisi/iter.h @@ -38,7 +38,7 @@ struct _GIsiSubBlockIter { }; typedef struct _GIsiSubBlockIter GIsiSubBlockIter; -bool g_isi_sb_iter_init(const void restrict *data, size_t len, +bool g_isi_sb_iter_init(const void *restrict data, size_t len, GIsiSubBlockIter *iter, bool longhdr); bool g_isi_sb_iter_is_valid(GIsiSubBlockIter *iter); bool g_isi_sb_iter_next(GIsiSubBlockIter *iter); |