X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=amiga.c;h=984ca86d1af1dc3dfe01804bff030df9c0f0f12b;hp=2bf43cc30f880f0de923832b474b4b03b29d3f13;hb=1229c1bd3d1494ed3eb583f64c46a7b19e3cce19;hpb=e72b401da5537a14b29e945944926373cb251825 diff --git a/amiga.c b/amiga.c index 2bf43cc3..984ca86d 100644 --- a/amiga.c +++ b/amiga.c @@ -1,14 +1,14 @@ -const char amiga_rcs[] = "$Id: amiga.c,v 1.12 2007/01/07 07:40:52 joergs Exp $"; +const char amiga_rcs[] = "$Id: amiga.c,v 1.16 2012/03/09 16:24:36 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/amiga.c,v $ * * Purpose : Amiga-specific declarations. * - * Copyright : Written by and Copyright (C) 2001 the SourceForge + * Copyright : Written by and Copyright (C) 2001 members of the * Privoxy team. http://www.privoxy.org/ * - * This program is free software; you can redistribute it + * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General * Public License as published by the Free Software * Foundation; either version 2 of the License, or (at @@ -74,7 +74,7 @@ SAVEDS ULONG server_thread(void) { SetErrnoPtr(&(UserData.eno),sizeof(int)); local_csp->cfd=ObtainSocket(local_csp->cfd, AF_INET, SOCK_STREAM, 0); - if(JB_INVALID_SOCKET!=local_csp->cfd) + if (JB_INVALID_SOCKET!=local_csp->cfd) { Signal(main_task,SIGF_SINGLE); serve((struct client_state *) local_csp); @@ -207,7 +207,7 @@ void free (void *m) { ULONG *mem = m; - if(mem && memPool) + if (mem && memPool) { ULONG size=*--mem; @@ -268,7 +268,7 @@ void __memCleanUp (void) } } -#define ADD2LIST(a,b,c) asm(".stabs \"_" #b "\"," #c ",0,0,_" #a ) +#define ADD2LIST(a,b,c) asm(".stabs \"_" #b "\"," #c ",0,0,_" #a) #define ADD2EXIT(a,pri) ADD2LIST(a,__EXIT_LIST__,22); \ asm(".stabs \"___EXIT_LIST__\",20,0,0," #pri "+128") ADD2EXIT(__memCleanUp,-50);