From 725621dbcbdb8c3ee8d4877d4cc969d35b300374 Mon Sep 17 00:00:00 2001 From: knarf Date: Mon, 11 Apr 2011 19:57:26 +0000 Subject: correct function signature git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IsoSurfacer/trunk@100 bfcf8e34-485d-4d46-a995-1fd6fa6fb178 --- src/Sockets.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Sockets.c b/src/Sockets.c index 5e0dbf9..6c4468e 100644 --- a/src/Sockets.c +++ b/src/Sockets.c @@ -106,7 +106,7 @@ static void SocketDestroy(isoSocket *this, isoSocket **list); static void SocketClose(isoSocket *this); int Iso_SetupServer(const cGH *GH,isosurfacerGH *myGH, int dataport, int controlport, int queue_size, int hunt); -int Iso_ShutdownServer(void); +void Iso_ShutdownServer(CCTK_ARGUMENTS); int Iso_Poll(const cGH *GH, long sec, long usec); int Iso_Read(isoSocket *connection, char *buffer, size_t count); int IsoWriteDataToClients(const char *metadata, @@ -252,8 +252,9 @@ int Iso_SetupServer(const cGH *GH,isosurfacerGH *myGH,int dataport, int controlp Closes all sockets we are interested in. @enddesc @@*/ -int Iso_ShutdownServer(void) +void Iso_ShutdownServer(CCTK_ARGUMENTS) { + DECLARE_CCTK_ARGUMENTS; SOCKET i; /* Close all sockets in our active set */ -- cgit v1.2.3