summaryrefslogtreecommitdiff
path: root/src/fc
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-17 12:25:15 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-17 12:25:15 -0800
commit3d41257544d7903935e6a1407f3da6624bbc3914 (patch)
treee472cb169e9190540d4818fe6b761f3a0dc11013 /src/fc
parentbac7adac9a9865ef736589863ad144d4172585e1 (diff)
unifdef NCD
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/fc')
-rw-r--r--src/fc/fserve.c47
1 files changed, 0 insertions, 47 deletions
diff --git a/src/fc/fserve.c b/src/fc/fserve.c
index eecf17c..abf7d07 100644
--- a/src/fc/fserve.c
+++ b/src/fc/fserve.c
@@ -77,10 +77,6 @@ in this Software without prior written authorization from The Open Group.
#include <time.h>
#define Time_t time_t
-#ifdef NCD
-#include <ncd/nvram.h>
-#endif
-
#include <stddef.h>
#ifndef MIN
@@ -335,10 +331,6 @@ fs_init_fpe(FontPathElementPtr fpe)
if (err == Successful)
{
-#ifdef NCD
- if (configData.ExtendedFontDiags)
- printf("Connected to font server \"%s\"\n", name);
-#endif
#ifdef DEBUG
fprintf (stderr, "connected to FS \"%s\"\n", name);
#endif
@@ -348,10 +340,6 @@ fs_init_fpe(FontPathElementPtr fpe)
#ifdef DEBUG
fprintf(stderr, "failed to connect to FS \"%s\" %d\n", name, err);
#endif
-#ifdef NCD
- if (configData.ExtendedFontDiags)
- printf("Failed to connect to font server \"%s\"\n", name);
-#endif
;
}
return err;
@@ -388,10 +376,6 @@ fs_free_fpe(FontPathElementPtr fpe)
_fs_free_conn (conn);
fpe->private = (pointer) 0;
-#ifdef NCD
- if (configData.ExtendedFontDiags)
- printf("Disconnected from font server \"%s\"\n", fpe->name);
-#endif
#ifdef DEBUG
fprintf (stderr, "disconnect from FS \"%s\"\n", fpe->name);
#endif
@@ -1762,15 +1746,6 @@ fs_send_open_font(pointer client, FontPathElementPtr fpe, Mask flags,
_fs_write(conn, (char *) &extreq, SIZEOF(fsQueryXExtents16Req));
}
-#ifdef NCD
- if (configData.ExtendedFontDiags)
- {
- memcpy(buf, name, MIN(256, namelen));
- buf[MIN(256, namelen)] = '\0';
- printf("Requesting font \"%s\" from font server \"%s\"\n",
- buf, font->fpe->name);
- }
-#endif
_fs_prepare_for_reply (conn);
err = blockrec->errcode;
@@ -2450,17 +2425,6 @@ fs_send_list_fonts(pointer client, FontPathElementPtr fpe, const char *pattern,
blockrec->sequenceNumber = conn->current_seq;
-#ifdef NCD
- if (configData.ExtendedFontDiags) {
- char buf[256];
-
- memcpy(buf, pattern, MIN(256, patlen));
- buf[MIN(256, patlen)] = '\0';
- printf("Listing fonts on pattern \"%s\" from font server \"%s\"\n",
- buf, fpe->name);
- }
-#endif
-
_fs_prepare_for_reply (conn);
return Suspended;
}
@@ -2678,17 +2642,6 @@ fs_start_list_with_info(pointer client, FontPathElementPtr fpe,
blockrec->sequenceNumber = conn->current_seq;
-#ifdef NCD
- if (configData.ExtendedFontDiags) {
- char buf[256];
-
- memcpy(buf, pattern, MIN(256, len));
- buf[MIN(256, len)] = '\0';
- printf("Listing fonts with info on pattern \"%s\" from font server \"%s\"\n",
- buf, fpe->name);
- }
-#endif
-
_fs_prepare_for_reply (conn);
return Successful;
}