projects
/
profile
/
ivi
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e078bf
)
Rename all instances of typeof
author
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 22 Dec 2011 20:32:37 +0000
(15:32 -0500)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 22 Dec 2011 20:32:37 +0000
(15:32 -0500)
src/wayland-util.h
patch
|
blob
|
history
diff --git
a/src/wayland-util.h
b/src/wayland-util.h
index
8061368
..
944e7f0
100644
(file)
--- a/
src/wayland-util.h
+++ b/
src/wayland-util.h
@@
-119,7
+119,7
@@
void wl_list_insert_list(struct wl_list *list, struct wl_list *other);
#ifdef __GNUC__
#define __container_of(ptr, sample, member) \
- (
typeof(sample))((char *)(ptr) -
\
+ (
__typeof__(sample))((char *)(ptr) -
\
((char *)&(sample)->member - (char *)(sample)))
#else
#define __container_of(ptr, sample, member) \