]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
lint.
authorrousskov <>
Wed, 25 Feb 1998 14:43:02 +0000 (14:43 +0000)
committerrousskov <>
Wed, 25 Feb 1998 14:43:02 +0000 (14:43 +0000)
include/MemPool.h
include/Stack.h

index a890cb0e116316a299ee8ba8ad8cc96a50af8085..917daf5ca351c72428a534b6ab0bff2f02a6a7b0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: MemPool.h,v 1.2 1998/02/21 00:56:34 rousskov Exp $
+ * $Id: MemPool.h,v 1.3 1998/02/25 07:43:02 rousskov Exp $
  *
  * AUTHOR: Alex Rousskov
  *
 /* see MemPool.c for documentation */
 
 struct _MemPool {
-       /* public, read only */
-       char *name;      /* an optional label or name for this pool */
-       size_t obj_size;
+    /* public, read only */
+    char *name;      /* an optional label or name for this pool */
+    size_t obj_size;
 
-       /* protected, do not use these, use interface functions instead */
-       char *buf;
-       Stack *static_stack;
-       Stack *dynamic_stack;
+    /* protected, do not use these, use interface functions instead */
+    char *buf;
+    Stack *static_stack;
+    Stack *dynamic_stack;
 
-       size_t alloc_count;
+    size_t alloc_count;
     size_t free_count;
     size_t alloc_high_water;
 
-       /* private, never touch this */
-       char *_buf_end;
+    /* private, never touch this */
+    char *_buf_end;
 };
 
 typedef struct _MemPool MemPool;
index 042c201194a7a44b5937b17e197457ef462c3558..d0769b62d5caa16851027e4e4f17de61d870c91c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: Stack.h,v 1.2 1998/02/21 00:56:35 rousskov Exp $
+ * $Id: Stack.h,v 1.3 1998/02/25 07:43:03 rousskov Exp $
  *
  * AUTHOR: Alex Rousskov
  *
 /* see Stack.c for more documentation */
 
 struct _Stack {
-       /* public, read only */
-       size_t capacity;
-       int is_full;         /* true if the stack is full */
+    /* public, read only */
+    size_t capacity;
+    int is_full;         /* true if the stack is full */
 
-       u_num32 push_count;  /* always grows, might overflow, use for stats only */
-       u_num32 pop_count;   /* always grows, might overflow, use for stats only */
+    u_num32 push_count;  /* always grows, might overflow, use for stats only */
+    u_num32 pop_count;   /* always grows, might overflow, use for stats only */
 
-       /* protected, do not use these, use interface functions instead */
-       size_t count;
-       void **buf;
+    /* protected, do not use these, use interface functions instead */
+    size_t count;
+    void **buf;
 };
 
 typedef struct _Stack Stack;