summaryrefslogtreecommitdiffstats
path: root/include/phonebook.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-09-01 21:39:02 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-09-01 21:39:02 -0500
commit422df0edfb321b0905ca85b02b31cb9c824a6d9d (patch)
tree8f3cee30af9e916524500694d73b25f8fcf650be /include/phonebook.h
parentd8282ec589106639d272571adcb1f2eb1dc495e8 (diff)
downloadofono-422df0edfb321b0905ca85b02b31cb9c824a6d9d.tar.bz2
change int vendor to unsigned int vendor
Diffstat (limited to 'include/phonebook.h')
-rw-r--r--include/phonebook.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/phonebook.h b/include/phonebook.h
index 1fc154d2..73f2bb9a 100644
--- a/include/phonebook.h
+++ b/include/phonebook.h
@@ -38,7 +38,8 @@ typedef void (*ofono_phonebook_cb_t)(const struct ofono_error *error,
*/
struct ofono_phonebook_driver {
const char *name;
- int (*probe)(struct ofono_phonebook *pb, int vendor, void *data);
+ int (*probe)(struct ofono_phonebook *pb, unsigned int vendor,
+ void *data);
int (*remove)(struct ofono_phonebook *pb);
void (*export_entries)(struct ofono_phonebook *pb, const char *storage,
ofono_phonebook_cb_t cb, void *data);
@@ -56,7 +57,7 @@ int ofono_phonebook_driver_register(const struct ofono_phonebook_driver *d);
void ofono_phonebook_driver_unregister(const struct ofono_phonebook_driver *d);
struct ofono_phonebook *ofono_phonebook_create(struct ofono_modem *modem,
- int vendor,
+ unsigned int vendor,
const char *driver,
void *data);