From: rousskov <> Date: Wed, 25 Feb 1998 14:43:02 +0000 (+0000) Subject: lint. X-Git-Tag: SQUID_3_0_PRE1~3998 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e48416849e3d404fe22a8437388ce6c4c063937;p=thirdparty%2Fsquid.git lint. --- diff --git a/include/MemPool.h b/include/MemPool.h index a890cb0e11..917daf5ca3 100644 --- a/include/MemPool.h +++ b/include/MemPool.h @@ -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 * @@ -35,21 +35,21 @@ /* 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; diff --git a/include/Stack.h b/include/Stack.h index 042c201194..d0769b62d5 100644 --- a/include/Stack.h +++ b/include/Stack.h @@ -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 * @@ -33,16 +33,16 @@ /* 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;