OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b90cc2
)
attrib: Change GAttrib->stale type from gboolean
author
Jefferson Delfes
<jefferson.delfes@openbossa.org>
Wed, 17 Apr 2013 14:03:05 +0000
(10:03 -0400)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Wed, 24 Apr 2013 13:59:23 +0000
(16:59 +0300)
There is no reason to GAttrib->stale be gboolean.
attrib/gattrib.c
patch
|
blob
|
history
diff --git
a/attrib/gattrib.c
b/attrib/gattrib.c
index
416d17b
..
f6881af
100644
(file)
--- a/
attrib/gattrib.c
+++ b/
attrib/gattrib.c
@@
-27,6
+27,7
@@
#endif
#include <stdint.h>
+#include <stdbool.h>
#include <string.h>
#include <glib.h>
@@
-56,7
+57,7
@@
struct _GAttrib {
guint next_cmd_id;
GDestroyNotify destroy;
gpointer destroy_user_data;
-
gboolean
stale;
+
bool
stale;
};
struct command {
@@
-279,7
+280,7
@@
static gboolean disconnect_timeout(gpointer data)
}
done:
- attrib->stale =
TRUE
;
+ attrib->stale =
true
;
g_attrib_unref(attrib);