performance tweaks
[lttv.git] / ltt / branches / poly / lttv / lttv / attribute.c
index a0d30704fd804a785575502233da8de28e6c92f7..549858674c941404fc475060bda7c390083d02a4 100644 (file)
@@ -41,7 +41,8 @@ typedef struct _Attribute {
 } Attribute;
 
 
-LttvAttributeValue address_of_value(LttvAttributeType t, AttributeValue *v)
+static __inline LttvAttributeValue address_of_value(LttvAttributeType t,
+                                                    AttributeValue *v)
 {
   LttvAttributeValue va;
 
@@ -514,12 +515,12 @@ attribute_interface_init (gpointer g_iface, gpointer iface_data)
 
 }
 
-
 static void
 attribute_instance_init (GTypeInstance *instance, gpointer g_class)
 {
   LttvAttribute *self = (LttvAttribute *)instance;
-  self->names = g_hash_table_new(g_direct_hash, g_direct_equal);
+  self->names = g_hash_table_new(g_direct_hash,
+                                 g_direct_equal);
   self->attributes = g_array_new(FALSE, FALSE, sizeof(Attribute));
 }
 
This page took 0.026166 seconds and 4 git commands to generate.