summaryrefslogtreecommitdiff
path: root/src/revobject.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-05-28 00:23:43 +0200
committerAndreas Ericsson <ae@op5.se>2010-06-02 10:32:07 +0200
commit9b3577eda0e6bb13d18a304763b91665575adfd3 (patch)
treef89099c671ed8df50e040b7a62989b451366d084 /src/revobject.h
parent0cf02ff92d5c08516ff2253f59daad1c4c582d8f (diff)
downloadlibgit2-9b3577eda0e6bb13d18a304763b91665575adfd3.tar.gz
Fixed brace placement and converted spaces to tabs.
Signed-off-by: Vicent Marti <tanoku@gmail.com> Signed-off-by: Andreas Ericsson <ae@op5.se>
Diffstat (limited to 'src/revobject.h')
-rw-r--r--src/revobject.h39
1 files changed, 17 insertions, 22 deletions
diff --git a/src/revobject.h b/src/revobject.h
index 2876a4c21..ccbb507cc 100644
--- a/src/revobject.h
+++ b/src/revobject.h
@@ -4,34 +4,30 @@
#include "git/common.h"
#include "git/oid.h"
-struct git_revpool_object
-{
- git_oid id;
- git_revpool *pool;
+struct git_revpool_object {
+ git_oid id;
+ git_revpool *pool;
};
-struct git_revpool_node
-{
- struct git_revpool_object *object;
- unsigned int hash;
- struct git_revpool_node *next;
+struct git_revpool_node {
+ struct git_revpool_object *object;
+ unsigned int hash;
+ struct git_revpool_node *next;
};
-struct git_revpool_table
-{
- struct git_revpool_node **nodes;
+struct git_revpool_table {
+ struct git_revpool_node **nodes;
- unsigned int size_mask;
- unsigned int count;
- unsigned int max_count;
+ unsigned int size_mask;
+ unsigned int count;
+ unsigned int max_count;
};
-struct git_revpool_tableit
-{
- struct git_revpool_node **nodes;
- struct git_revpool_node *current_node;
- unsigned int current_pos;
- unsigned int size;
+struct git_revpool_tableit {
+ struct git_revpool_node **nodes;
+ struct git_revpool_node *current_node;
+ unsigned int current_pos;
+ unsigned int size;
};
@@ -50,5 +46,4 @@ void git_revpool_table_free(git_revpool_table *table);
git_revpool_object *git_revpool_tableit_next(git_revpool_tableit *it);
void git_revpool_tableit_init(git_revpool_table *table, git_revpool_tableit *it);
-
#endif