aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nx-X11/lib/xtrans/Xtransint.h3
-rw-r--r--nx-X11/lib/xtrans/Xtransutil.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/nx-X11/lib/xtrans/Xtransint.h b/nx-X11/lib/xtrans/Xtransint.h
index 2156bd52f..f7e07687b 100644
--- a/nx-X11/lib/xtrans/Xtransint.h
+++ b/nx-X11/lib/xtrans/Xtransint.h
@@ -351,10 +351,11 @@ static int TRANS(WriteV)(
#endif /* WIN32 */
-
+#if defined(X11_t)
static int is_numeric (
const char * /* str */
);
+#endif
#ifdef TRANS_SERVER
static int trans_mkdir (
diff --git a/nx-X11/lib/xtrans/Xtransutil.c b/nx-X11/lib/xtrans/Xtransutil.c
index 4b5bcf2a7..0063e83d8 100644
--- a/nx-X11/lib/xtrans/Xtransutil.c
+++ b/nx-X11/lib/xtrans/Xtransutil.c
@@ -434,6 +434,7 @@ TRANS(WSAStartup) (void)
#include <ctype.h>
+#if defined(X11_t)
static int
is_numeric (const char *str)
{
@@ -445,6 +446,7 @@ is_numeric (const char *str)
return (1);
}
+#endif
#ifdef TRANS_SERVER
#include <sys/types.h>