From 55bb9c51c4b4b642283e7c83a30b518ca9bb2bb4 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Tue, 16 Jul 1996 05:11:54 +0000 Subject: [PATCH] gindent --- src/cache_cf.cc | 6 +++--- src/http.cc | 12 ++++++------ src/stmem.cc | 20 ++++++++++---------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/cache_cf.cc b/src/cache_cf.cc index dcf3156a4a..66bf59e0a6 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -1,5 +1,5 @@ /* - * $Id: cache_cf.cc,v 1.59 1996/07/11 22:44:11 wessels Exp $ + * $Id: cache_cf.cc,v 1.60 1996/07/15 23:11:54 wessels Exp $ * * DEBUG: section 3 Configuration File Parsing * AUTHOR: Harvest Derived @@ -273,7 +273,7 @@ ip_acl *firewall_ip_list = NULL; int zap_disk_store = 0; /* off, try to rebuild from disk */ int httpd_accel_mode = 0; /* for fast access */ int emulate_httpd_log = DefaultCommonLogFormat; /* for fast access */ -int identLookup = DefaultIdentLookup; /* for fast access */ +int identLookup = DefaultIdentLookup; /* for fast access */ time_t neighbor_timeout = DefaultNeighborTimeout; /* for fast access */ int single_parent_bypass = 0; int DnsPositiveTtl = DefaultPositiveDnsTtl; @@ -909,7 +909,7 @@ static void parseRedirectProgramLine() } static void parseOnOff(var) - int *var; + int *var; { char *token; token = strtok(NULL, w_space); diff --git a/src/http.cc b/src/http.cc index 0b89c61042..43508a5c96 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,5 +1,5 @@ /* - * $Id: http.cc,v 1.60 1996/07/12 17:39:00 wessels Exp $ + * $Id: http.cc,v 1.61 1996/07/15 23:15:16 wessels Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -732,9 +732,9 @@ int proxyhttpStart(e, url, entry) } static int httpConnect(fd, hp, data) - int fd; - struct hostent *hp; - void *data; + int fd; + struct hostent *hp; + void *data; { HttpStateData *httpState = data; request_t *request = httpState->request; @@ -753,8 +753,8 @@ static int httpConnect(fd, hp, data) squid_error_entry(entry, ERR_CONNECT_FAIL, xstrerror()); comm_close(fd); if ((e = httpState->neighbor)) { - e->last_fail_time = squid_curtime; - e->neighbor_up = 0; + e->last_fail_time = squid_curtime; + e->neighbor_up = 0; } return COMM_ERROR; } else { diff --git a/src/stmem.cc b/src/stmem.cc index 1b6643c134..dd5b0a0ba5 100644 --- a/src/stmem.cc +++ b/src/stmem.cc @@ -1,5 +1,5 @@ /* - * $Id: stmem.cc,v 1.11 1996/07/12 17:41:51 wessels Exp $ + * $Id: stmem.cc,v 1.12 1996/07/15 23:16:41 wessels Exp $ * * DEBUG: section 19 Memory Primitives * AUTHOR: Harvest Derived @@ -116,8 +116,8 @@ stmem_stats mem_obj_pool; #define USE_MEMALIGN 0 #endif -static void *get_free_thing _PARAMS((stmem_stats *thing)); -static void put_free_thing _PARAMS((stmem_stats *thing, void *p)); +static void *get_free_thing _PARAMS((stmem_stats * thing)); +static void put_free_thing _PARAMS((stmem_stats * thing, void *p)); void memFree(mem) @@ -380,15 +380,15 @@ mem_ptr memInit() } static void *get_free_thing(thing) - stmem_stats *thing; + stmem_stats *thing; { void *p = NULL; if (!empty_stack(&thing->free_page_stack)) { - p = pop(&thing->free_page_stack); - if (p == NULL) + p = pop(&thing->free_page_stack); + if (p == NULL) fatal_dump("get_free_thing: NULL pointer?"); } else { - p = xmalloc(thing->page_size); + p = xmalloc(thing->page_size); thing->total_pages_allocated++; } thing->n_pages_in_use++; @@ -417,8 +417,8 @@ char *get_free_8k_page() } static void put_free_thing(thing, p) - stmem_stats *thing; - void *p; + stmem_stats *thing; + void *p; { thing->n_pages_in_use--; if (thing->total_pages_allocated > thing->max_pages) { @@ -428,7 +428,7 @@ static void put_free_thing(thing, p) xfree(p); thing->total_pages_allocated--; } else { - push(&thing->free_page_stack, p); + push(&thing->free_page_stack, p); } } -- 2.47.2