diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2010-03-10 14:52:42 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2010-03-10 14:52:42 +0100 |
commit | fbb31cd6e10fe66d2da781db0ba9a8d671a4c6aa (patch) | |
tree | 0f8ad4f66d9a0e6b89fab66125b620bb7223100e /libudev/libudev-list.c | |
parent | 455f792e4791e037eb0406005b92c345cf0baf56 (diff) |
libbudev-private: rename udev_list_entry_get_flag()
Diffstat (limited to 'libudev/libudev-list.c')
-rw-r--r-- | libudev/libudev-list.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libudev/libudev-list.c b/libudev/libudev-list.c index f6637fc92d..b5e96458cc 100644 --- a/libudev/libudev-list.c +++ b/libudev/libudev-list.c @@ -38,7 +38,7 @@ struct udev_list_entry { struct udev_list_node *list; char *name; char *value; - int flag; + unsigned int flags; }; /* list head point to itself if empty */ @@ -258,16 +258,16 @@ const char *udev_list_entry_get_value(struct udev_list_entry *list_entry) return list_entry->value; } -int udev_list_entry_get_flag(struct udev_list_entry *list_entry) +unsigned int udev_list_entry_get_flags(struct udev_list_entry *list_entry) { if (list_entry == NULL) return -EINVAL; - return list_entry->flag; + return list_entry->flags; } -void udev_list_entry_set_flag(struct udev_list_entry *list_entry, int flag) +void udev_list_entry_set_flags(struct udev_list_entry *list_entry, unsigned int flags) { if (list_entry == NULL) return; - list_entry->flag = flag; + list_entry->flags = flags; } |