summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-09-10 12:56:53 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-09-10 12:56:53 +1000
commit114d8fec83ce9cb8b22e428b5c62b24f31a2358f (patch)
tree491cb49d43098d991167836a41a2d36b3c79a4a8 /src
parentdec5fbe79a21834d21b6097712e3a4982ca28e2f (diff)
Renaming sync/ to XSync
Diffstat (limited to 'src')
-rw-r--r--src/tet3/apilib/sync.c2
-rw-r--r--src/tet3/inc/apilib.h2
-rw-r--r--src/tet3/tcm/dtcm.c14
-rw-r--r--src/tet3/tcm/ictp.c4
4 files changed, 11 insertions, 11 deletions
diff --git a/src/tet3/apilib/sync.c b/src/tet3/apilib/sync.c
index 5e048e20..67e27d22 100644
--- a/src/tet3/apilib/sync.c
+++ b/src/tet3/apilib/sync.c
@@ -419,7 +419,7 @@ TET_IMPORT void (*tet_syncerr)() = tet_syncreport;
#else /* -END-LITE-CUT- */
/* avoid "empty" file */
-int tet_sync_not_supported;
+int tet_XSync_not_supported;
#endif /* -LITE-CUT-LINE- */
diff --git a/src/tet3/inc/apilib.h b/src/tet3/inc/apilib.h
index 1724dc07..b3b78928 100644
--- a/src/tet3/inc/apilib.h
+++ b/src/tet3/inc/apilib.h
@@ -89,7 +89,7 @@ TET_IMPORT_ARRAY(char *, tet_apilib_version, []);
extern FILE *tet_resfp; /* fp for tet_xres file */
#else /* -START-LITE-CUT- */
TET_IMPORT_DATA(int, tet_iclast); /* highest defined IC number */
- TET_IMPORT_DATA(int, tet_sync_del); /* true if TP deleted in another TCM */
+ TET_IMPORT_DATA(int, tet_XSync_del); /* true if TP deleted in another TCM */
TET_EXPORT_DATA(int *, tet_snames); /* system name list */
TET_EXPORT_DATA(int, tet_Nsname); /* number of system names */
TET_EXPORT_DATA(long, tet_snid); /* sync ID for this test case */
diff --git a/src/tet3/tcm/dtcm.c b/src/tet3/tcm/dtcm.c
index cfe2fd80..490396ca 100644
--- a/src/tet3/tcm/dtcm.c
+++ b/src/tet3/tcm/dtcm.c
@@ -228,7 +228,7 @@ static struct iclist *iclalloc PROTOLIST((void));
static int split PROTOLIST((char *, char **, int, int));
#ifndef TET_LITE /* -START-LITE-CUT- */
-static void sync_report PROTOLIST((int, char *));
+static void XSync_report PROTOLIST((int, char *));
#endif /* -END-LITE-CUT- */
static void sigskip PROTOLIST((int));
@@ -341,7 +341,7 @@ char **argv;
/* now, analyse the results of an unsuccessful auto sync */
if (tet_sderrno != ER_OK) {
- sync_report(nsys, "startup");
+ XSync_report(nsys, "startup");
tet_exit(EXIT_FAILURE);
}
#endif /* -END-LITE-CUT- */
@@ -492,13 +492,13 @@ int icnum, tpnum, testnum;
tet_result(TET_UNINITIATED);
}
#ifndef TET_LITE /* -START-LITE-CUT- */
- else if (tet_sync_del != 0)
+ else if (tet_XSync_del != 0)
{
/* TP deleted in another TCM */
TRACE2(tet_Ttcm, 4, "TP %s deleted on another system",
tet_i2a(testnum));
tet_result(TET_UNINITIATED);
- tet_sync_del = 0;
+ tet_XSync_del = 0;
}
#endif /* -END-LITE-CUT- */
else
@@ -771,7 +771,7 @@ int status;
/* analyse the results of an unsuccessful auto sync */
if (tet_sderrno != ER_OK) {
- sync_report(nsys, "cleanup");
+ XSync_report(nsys, "cleanup");
tet_exit(EXIT_FAILURE);
}
#endif /* -END-LITE-CUT- */
@@ -803,11 +803,11 @@ int status;
#ifndef TET_LITE /* -START-LITE-CUT- */
/*
-** sync_report() - analyse the results of the startup and cleanup
+** XSync_report() - analyse the results of the startup and cleanup
** tet_tcm_async() calls
*/
-static void sync_report(nsys, functype)
+static void XSync_report(nsys, functype)
register int nsys;
char *functype;
{
diff --git a/src/tet3/tcm/ictp.c b/src/tet3/tcm/ictp.c
index 0ca59c1f..7933f510 100644
--- a/src/tet3/tcm/ictp.c
+++ b/src/tet3/tcm/ictp.c
@@ -165,7 +165,7 @@ static char srcFile[] = __FILE__; /* file name for error reporting */
#else /* -START-LITE-CUT- */
TET_IMPORT int tet_iclast = ~(~0 << S_ICBITS) - 2;
/* used in auto sync before cleanup */
- TET_IMPORT int tet_sync_del = 0; /* true when a TP is deleted in a
+ TET_IMPORT int tet_XSync_del = 0; /* true when a TP is deleted in a
test case part on another system */
TET_IMPORT struct synreq *tet_synreq = (struct synreq *) 0;
/* used when analysing the results
@@ -430,7 +430,7 @@ int icno, tpno, testnum;
case SS_SYNCYES:
break;
case SS_SYNCNO:
- tet_sync_del = 1;
+ tet_XSync_del = 1;
break;
default:
(void) sprintf(errmsg,