diff options
author | schnetter <schnetter@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2006-06-03 03:19:02 +0000 |
---|---|---|
committer | schnetter <schnetter@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2006-06-03 03:19:02 +0000 |
commit | 0967705f7ea6f901048b641798ba0dda501fbd1e (patch) | |
tree | dac00b526279ce33dbbb39f63aaa31310f467e5f | |
parent | a2908dcaab684b6bb42ba5a5354be0ba8a2707c5 (diff) |
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
-rw-r--r-- | src/Content.c | 8 |
1 files 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 <stdlib.h> #include <string.h> @@ -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 |