roadmap update
[lttv.git] / ltt / branches / poly / ltt / ltt-private.h
index 8af6e3bff4e8c17bfd0fa3e4ef7c47c9a0f6c049..d97ff5fce9ec871c5b24a4deae2efbc0ac3c2313 100644 (file)
@@ -456,11 +456,11 @@ static inline unsigned int ltt_align(size_t align_drift,
                                                                                                                                                 size_t has_alignment)
 {
        size_t alignment = min(has_alignment, size_of_type);
-
+       
+       if(!has_alignment) return 0;
+       
        return ((alignment - align_drift) & (alignment-1));
 }
 
-off_t field_align(LttTracefile *tf, LttField *field, off_t offset);
-
 
 #endif /* LTT_PRIVATE_H */
This page took 0.022384 seconds and 4 git commands to generate.