OSSP CVS Repository

ossp - Difference in ossp-pkg/act/act_grid.c versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/act/act_grid.c 1.1 -> 1.2

--- act_grid.c   2000/08/20 14:46:26     1.1
+++ act_grid.c   2000/08/27 15:37:07     1.2
@@ -27,6 +27,7 @@
 */
 
 #include "act_p.h"
+#include "act_grid.h"
 
 /* the top-level structure of a grid */
 struct act_grid_st {
@@ -37,7 +38,11 @@
     size_t     g_seg_size;
 };
 
-act_grid_t *act_grid_create(act_ctx_t *ctx, size_t segnum, size_t segsize)
+act_grid_t *
+act_grid_create(
+    act_ctx_t *ctx, 
+    size_t segnum, 
+    size_t segsize)
 {
     act_grid_t *grid = NULL;
     void *block;
@@ -78,7 +83,9 @@
     return grid;
 }
 
-int act_grid_destroy(act_grid_t *grid)
+int 
+act_grid_destroy(
+    act_grid_t *grid)
 {
     act_ctx_t *ctx;
 
@@ -91,7 +98,9 @@
     return TRUE;
 }
 
-void *act_grid_alloc(act_grid_t *grid)
+void *
+act_grid_alloc(
+    act_grid_t *grid)
 {
     void *chunk = NULL;
 
@@ -102,7 +111,10 @@
     return chunk;
 }
 
-int act_grid_free(act_grid_t *grid, void *segptr)
+int 
+act_grid_free(
+    act_grid_t *grid, 
+    void *segptr)
 {
     insist(grid != NULL, FALSE);
     insist(segptr != NULL, FALSE);

CVSTrac 2.0.1