From a06e42e1d857db5c60d64e939707b58f79303561 Mon Sep 17 00:00:00 2001 From: herrmann Date: Fri, 29 Apr 2005 12:53:51 +0000 Subject: rename getopt function to avoid name conflict. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Norms/trunk@15 f4913095-0e4f-0410-abea-a123d184f1f3 --- src/Setup_Vars.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Setup_Vars.c b/src/Setup_Vars.c index 61d4ce2..ecce643 100644 --- a/src/Setup_Vars.c +++ b/src/Setup_Vars.c @@ -23,9 +23,9 @@ struct norms_opts { }; -static void getopt (int const idx, - const char * const optstring, - void * const opts) +static void normsgetopt (int const idx, + const char * const optstring, + void * const opts) { struct norms_opts * norms_opts; int table; @@ -121,10 +121,10 @@ void Norms_Setup_Vars (CCTK_ARGUMENTS) norms_opts_2nd[n].active = 0; } ierr = CCTK_TraverseString - (gridfunctions_1st, getopt, norms_opts_1st, CCTK_GROUP_OR_VAR); + (gridfunctions_1st, normsgetopt, norms_opts_1st, CCTK_GROUP_OR_VAR); assert (ierr >= 0); ierr = CCTK_TraverseString - (gridfunctions_2nd, getopt, norms_opts_2nd, CCTK_GROUP_OR_VAR); + (gridfunctions_2nd, normsgetopt, norms_opts_2nd, CCTK_GROUP_OR_VAR); assert (ierr >= 0); if (verbose>0) -- cgit v1.2.3