Skip to contentSkip to conversation

pool.h cleanup

PATCH Dushan Tcholich 1 participant 1 message Oct 25, 2007

lore
Share & tools
lore
#0 lore raw

orig: total: 6 errors, 2 warnings, 56 lines checked
patched:total: 0 errors, 1 warnings, 57 lines checked leftover:

WARNING: do not add new typedefs
#27: FILE: pool.h:27:
+typedef enum {

pool.h renamed from pool.h.orig +8 -7
@@ -1,4 +1,5 @@
-/* Copyright 2001, 2002, 2003 by Hans Reiser, licensing governed by reiser4/README */
+/* Copyright 2001, 2002, 2003 by Hans Reiser, licensing governed by
+ * reiser4/README */
 
 /* Fast pool allocation */
 
@@ -32,13 +33,13 @@ typedef enum {
 
 /* pool manipulation functions */
 
-extern void reiser4_init_pool(struct reiser4_pool * pool, size_t obj_size,
+extern void reiser4_init_pool(struct reiser4_pool *pool, size_t obj_size,
 			      int num_of_objs, char *data);
-extern void reiser4_done_pool(struct reiser4_pool * pool);
-extern void reiser4_pool_free(struct reiser4_pool * pool,
-			      struct reiser4_pool_header * h);
-struct reiser4_pool_header *reiser4_add_obj(struct reiser4_pool * pool,
-					 struct list_head * list,
+extern void reiser4_done_pool(struct reiser4_pool *pool);
+extern void reiser4_pool_free(struct reiser4_pool *pool,
+			      struct reiser4_pool_header *h);
+struct reiser4_pool_header *reiser4_add_obj(struct reiser4_pool *pool,
+					 struct list_head *list,
 					 pool_ordering order,
 					 struct reiser4_pool_header *reference);