- Reindented code such that it uses three spaces for indentation instead
of two. The indentation of the DRD source code is now consistent with
the other Valgrind source files.
- Added emacs mode line with indentation settings.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9496 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/drd/drd_segment.h b/drd/drd_segment.h
index 012cca6..8658fae 100644
--- a/drd/drd_segment.h
+++ b/drd/drd_segment.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 3; -*- */
/*
This file is part of drd, a thread error detector.
@@ -41,20 +42,20 @@
typedef struct segment
{
- /** Pointers to next and previous segments executed by the same thread. */
- struct segment* next;
- struct segment* prev;
- /** Reference count: number of pointers that point to this segment. */
- int refcnt;
- /** Stack trace of the first instruction of the segment. */
- ExeContext* stacktrace;
- /** Vector clock associated with the segment. */
- VectorClock vc;
- /**
- * Bitmap representing the memory accesses by the instructions associated
- * with the segment.
- */
- struct bitmap* bm;
+ /** Pointers to next and previous segments executed by the same thread. */
+ struct segment* next;
+ struct segment* prev;
+ /** Reference count: number of pointers that point to this segment. */
+ int refcnt;
+ /** Stack trace of the first instruction of the segment. */
+ ExeContext* stacktrace;
+ /** Vector clock associated with the segment. */
+ VectorClock vc;
+ /**
+ * Bitmap representing the memory accesses by the instructions associated
+ * with the segment.
+ */
+ struct bitmap* bm;
} Segment;