From 0967705f7ea6f901048b641798ba0dda501fbd1e Mon Sep 17 00:00:00 2001 From: schnetter Date: Sat, 3 Jun 2006 03:19:02 +0000 Subject: Declare HTTP_ContentWork properly with CCTK_ARGUMENTS instead of cGH * GH. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@231 1faa4e14-9dd3-4be0-9f0e-ffe519881164 --- src/Content.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Content.c b/src/Content.c index a2d7e3c..ccc5421 100644 --- a/src/Content.c +++ b/src/Content.c @@ -12,6 +12,7 @@ @@*/ #include "cctk.h" +#include "cctk_Arguments.h" #include #include @@ -86,7 +87,7 @@ static int CookieTestPage(const cGH *cctkGH, httpRequest *request, void *data); ********************* Other Routine Prototypes ********************* ********************************************************************/ -void HTTP_ContentWork(const cGH *GH); +void HTTP_ContentWork(CCTK_ARGUMENTS); int HTTP_RegisterPages(void); int HTTPi_RegisterGroupsPages(void); int HTTPi_RegisterThornPages(void); @@ -173,11 +174,8 @@ CCTK_GetParameterFilenameString( String *name ) @endhistory @@*/ -void HTTP_ContentWork(const cGH *GH) +void HTTP_ContentWork(CCTK_ARGUMENTS) { - /* avoid compiler warning about unused parameter */ - GH = GH; - #if 0 HTTP_SteerDispatch(); #endif -- cgit v1.2.3