X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fattribute.c;h=b08c24da75a622ef45058263861b4b1ad3e9dd3b;hb=c27d48bb2fe89870e0f454e8e2b6606f0c46d988;hp=973bdc9e98e4ae59afcefd8b44c549ae0a19bce6;hpb=4accaa97805e5d7fe37cb6b9f60c9e62869afdb3;p=lttv.git diff --git a/ltt/branches/poly/lttv/attribute.c b/ltt/branches/poly/lttv/attribute.c index 973bdc9e..b08c24da 100644 --- a/ltt/branches/poly/lttv/attribute.c +++ b/ltt/branches/poly/lttv/attribute.c @@ -1,4 +1,4 @@ -#include "attribute.h" +#include inline lttv_string_id lttv_string_id_from_string(const char *s) { return g_quark_from_string(s); @@ -221,6 +221,7 @@ void lttv_attributes_set_pointer(lttv_attributes *a, lttv_key *k, void *p) { } +#ifdef EXT_ATTRIBS /* Sometimes the attributes must be accessed in bulk, sorted in different ways. For this purpose they may be converted to arrays and sorted multiple times. The keys used in the array belong to the lttv_attributes @@ -311,7 +312,6 @@ int lttv_key_compare_priority(lttv_key *a, lttv_key *b, void *compare_data) return 0; } - typedef struct _select_data { lttv_attributes *a; lttv_key *k; @@ -421,3 +421,4 @@ static void select_pointer(void *key, void *value, void *user_data) +#endif // EXT_ATTRIBS