X-Git-Url: https://git.piment-noir.org/?p=Project_algorithmic_C.git;a=blobdiff_plain;f=lib%2Flist.h;fp=lib%2Flist.h;h=b9d8cba65aba6127f8af6f3b80427c91adbcf1bb;hp=98b5b259de0c4db8f0acb96446ccd5c9a0bff5e1;hb=9240af1ae3159c7ba2f1ff1152089efd7fa5e38e;hpb=c8c562de07c5dcd2fd557ed100cf62a15140bbe4 diff --git a/lib/list.h b/lib/list.h index 98b5b25..b9d8cba 100644 --- a/lib/list.h +++ b/lib/list.h @@ -21,6 +21,8 @@ struct list_head { struct list_head *next, *prev; }; +#define typeof __typeof__ + #define LIST_HEAD_INIT(name) { &(name), &(name) } #define LIST_HEAD(name) \