aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherrmann <herrmann@f4913095-0e4f-0410-abea-a123d184f1f3>2005-04-29 12:53:51 +0000
committerherrmann <herrmann@f4913095-0e4f-0410-abea-a123d184f1f3>2005-04-29 12:53:51 +0000
commita06e42e1d857db5c60d64e939707b58f79303561 (patch)
tree7dc32da0fdbda0d23c6e8c3531498d544891d5c0
parent433340cb49251d5e7bcf21a09d6c8dd76b039acb (diff)
rename getopt function to avoid name conflict.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Norms/trunk@15 f4913095-0e4f-0410-abea-a123d184f1f3
-rw-r--r--src/Setup_Vars.c10
1 files 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)