summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-10-03 16:20:34 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-10-03 16:20:34 +0000
commitd51b12875913e37cdd43f7ef1c67039bdd4b85f6 (patch)
treeef32c161bc7134385b90b015ca45fa6f03f64bc4 /src/util
parentafaab9892c742f8064f003842d1c3233f9a89a3c (diff)
Untabifying.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4163 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/util')
-rw-r--r--src/util/CactusTimers.c38
-rw-r--r--src/util/Misc.c2
-rw-r--r--src/util/Table.c2
3 files changed, 21 insertions, 21 deletions
diff --git a/src/util/CactusTimers.c b/src/util/CactusTimers.c
index 7c630dac..912f4041 100644
--- a/src/util/CactusTimers.c
+++ b/src/util/CactusTimers.c
@@ -1399,7 +1399,7 @@ void CCTK_FCALL CCTK_FNAME (CCTK_TimerPrintData)
unsigned int
CCTK_NumTimerClocks( const cTimerData *info )
{
- return info->n_vals;
+ return info->n_vals;
}
/*@@
@@ -1434,10 +1434,10 @@ CCTK_NumTimerClocks( const cTimerData *info )
const cTimerVal *
CCTK_GetClockValueI( int valno, const cTimerData *info )
{
- if( valno < info->n_vals )
- return (cTimerVal *)&info->vals[valno];
- else
- return NULL;
+ if( valno < info->n_vals )
+ return (cTimerVal *)&info->vals[valno];
+ else
+ return NULL;
}
/*@@
@@ -1474,13 +1474,13 @@ CCTK_GetClockValueI( int valno, const cTimerData *info )
const cTimerVal *
CCTK_GetClockValue( const char * clockName, const cTimerData *info )
{
- int i;
+ int i;
- for (i = 0; i < info->n_vals; i++)
- if( strcmp( clockName, info->vals[i].heading ) == 0 )
- return (cTimerVal *)&info->vals[i];
+ for (i = 0; i < info->n_vals; i++)
+ if( strcmp( clockName, info->vals[i].heading ) == 0 )
+ return (cTimerVal *)&info->vals[i];
- return NULL;
+ return NULL;
}
/*@@
@@ -1507,9 +1507,9 @@ CCTK_GetClockValue( const char * clockName, const cTimerData *info )
double
CCTK_TimerClockSeconds( const cTimerVal *clockVal )
{
- if( clockVal != NULL )
- return clockVal->seconds;
- return 0.0;
+ if( clockVal != NULL )
+ return clockVal->seconds;
+ return 0.0;
}
/*@@
@@ -1539,9 +1539,9 @@ CCTK_TimerClockSeconds( const cTimerVal *clockVal )
double
CCTK_TimerClockResolution( const cTimerVal *clockVal )
{
- if( clockVal != NULL )
- return clockVal->resolution;
- return 0.0;
+ if( clockVal != NULL )
+ return clockVal->resolution;
+ return 0.0;
}
/*@@
@@ -1568,8 +1568,8 @@ CCTK_TimerClockResolution( const cTimerVal *clockVal )
const char *
CCTK_TimerClockName( const cTimerVal *clockVal )
{
- if( clockVal != NULL )
- return clockVal->heading;
- return NULL;
+ if( clockVal != NULL )
+ return clockVal->heading;
+ return NULL;
}
diff --git a/src/util/Misc.c b/src/util/Misc.c
index f4418799..f8642e41 100644
--- a/src/util/Misc.c
+++ b/src/util/Misc.c
@@ -1155,7 +1155,7 @@ int CCTK_RegexMatch(const char *string,
Handle this case specially. */
if (strcmp(pattern, "") == 0)
{
- retval = 1; /* report success */
+ retval = 1; /* report success */
}
else
{
diff --git a/src/util/Table.c b/src/util/Table.c
index 31db8444..4e38fee9 100644
--- a/src/util/Table.c
+++ b/src/util/Table.c
@@ -9,7 +9,7 @@
@desc
This program implements the key-value table API defined
in util_Table.h, the Cactus Reference Manual, and in
- chapter C of the the Cactus User's Guide. A slightly
+ chapter C of the the Cactus User's Guide. A slightly
earlier version of this API is documented in
http://www.cactuscode.org/Development/Specs/KeyValueLookup.txt
@enddesc