summaryrefslogtreecommitdiff
path: root/src/Resources.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2015-02-14 14:10:21 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2015-02-14 14:10:21 -0800
commite7094ceaf95a15eae73819d0ffdb9b982075e0d2 (patch)
tree8a55b23a9cb33aebafc10ba354159cd6ab91b8df /src/Resources.c
parent33a6d9dc30188c02a3ec703153728b31d458ec1e (diff)
downloadxorg-lib-libXt-e7094ceaf95a15eae73819d0ffdb9b982075e0d2.tar.gz
unifdef -UCRAY -UCRAY2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/Resources.c')
-rw-r--r--src/Resources.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/Resources.c b/src/Resources.c
index 1d2871c..9e0f065 100644
--- a/src/Resources.c
+++ b/src/Resources.c
@@ -86,11 +86,6 @@ static XrmName Qtranslations, QbaseTranslations;
static XrmName Qscreen;
static XrmClass QScreen;
-#ifdef CRAY
-void Cjump();
-char *Cjumpp = (char *) Cjump;
-void Cjump() {}
-#endif
void _XtCopyFromParent(
Widget widget,
@@ -781,13 +776,6 @@ static XtCacheRef *GetResources(
/* Convert default value to proper type */
xrm_default_type = rx->xrm_default_type;
if (xrm_default_type == QCallProc) {
-#ifdef CRAY
- if ( (int) Cjumpp != (int) Cjump)
- (*(XtResourceDefaultProc)
- (((int)(rx->xrm_default_addr))<<2))(
- widget,-(rx->xrm_offset+1), &value);
- else
-#endif
(*(XtResourceDefaultProc)(rx->xrm_default_addr))(
widget,-(rx->xrm_offset+1), &value);
@@ -1123,15 +1111,6 @@ void _XtGetApplicationResources (
XtNumber(quark_cache), &quark_args);
/* Compile resource list if needed */
if (((int) resources->resource_offset) >= 0) {
-#ifdef CRAY2
- if (base == 0) { /* this client is non-portable, but... */
- int count;
- XtResourceList res = resources;
- for (count = 0; count < num_resources; res++, count++) {
- res->resource_offset *= sizeof(long);
- }
- }
-#endif /* CRAY2 */
XrmCompileResourceListEphem(resources, num_resources);
}
table = _XtCreateIndirectionTable(resources,num_resources);