git-svn-id: http://ltt.polymtl.ca/svn@123 04897980-b3bd-0310-b5e0-8ef037075253
[lttv.git] / ltt / branches / poly / lttv / attribute.c
index 973bdc9e98e4ae59afcefd8b44c549ae0a19bce6..b08c24da75a622ef45058263861b4b1ad3e9dd3b 100644 (file)
@@ -1,4 +1,4 @@
-#include "attribute.h"
+#include <lttv/attribute.h>
 
 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
This page took 0.022943 seconds and 4 git commands to generate.