projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Delete trailing whitespace at end of lines.
[pspp-builds.git]
/
src
/
libpspp
/
range-map.h
diff --git
a/src/libpspp/range-map.h
b/src/libpspp/range-map.h
index 8a5f6f43ce59177ecda3dbd8cce9e3a7511be69c..05525baaa373efb1eb68fb98bc4bd5e2b58b7321 100644
(file)
--- a/
src/libpspp/range-map.h
+++ b/
src/libpspp/range-map.h
@@
-43,7
+43,7
@@
((STRUCT *) ((char *) (NODE) - offsetof (STRUCT, MEMBER)))
/* A range map node, to be embedded in the data value. */
((STRUCT *) ((char *) (NODE) - offsetof (STRUCT, MEMBER)))
/* A range map node, to be embedded in the data value. */
-struct range_map_node
+struct range_map_node
{
struct bt_node bt_node; /* Balanced tree node. */
unsigned long int start; /* Start of range. */
{
struct bt_node bt_node; /* Balanced tree node. */
unsigned long int start; /* Start of range. */
@@
-52,27
+52,27
@@
struct range_map_node
/* Returns the start of the range in the given NODE. */
static inline unsigned long int
/* Returns the start of the range in the given NODE. */
static inline unsigned long int
-range_map_node_get_start (const struct range_map_node *node)
+range_map_node_get_start (const struct range_map_node *node)
{
return node->start;
}
/* Returns the end of the range in the given NODE, plus one. */
static inline unsigned long int
{
return node->start;
}
/* Returns the end of the range in the given NODE, plus one. */
static inline unsigned long int
-range_map_node_get_end (const struct range_map_node *node)
+range_map_node_get_end (const struct range_map_node *node)
{
return node->end;
}
/* Returns the width of the range in the given NODE. */
static inline unsigned long int
{
return node->end;
}
/* Returns the width of the range in the given NODE. */
static inline unsigned long int
-range_map_node_get_width (const struct range_map_node *node)
+range_map_node_get_width (const struct range_map_node *node)
{
return node->end - node->start;
}
\f
/* Range map. */
{
return node->end - node->start;
}
\f
/* Range map. */
-struct range_map
+struct range_map
{
struct bt bt;
};
{
struct bt bt;
};