diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2016-11-02 23:55:23 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-11-03 00:10:34 +0100 |
commit | 882c034c3713855bb15dde84b1bd16dc887171cb (patch) | |
tree | 1d4cf5792ecc3082b1da51a0232f5aab1df0283b /nx-X11/lib/xtrans/Xtransint.h | |
parent | 90612d25ca9a42a4f9bdea9dbd867abb635ba98f (diff) | |
download | nx-libs-882c034c3713855bb15dde84b1bd16dc887171cb.tar.gz nx-libs-882c034c3713855bb15dde84b1bd16dc887171cb.tar.bz2 nx-libs-882c034c3713855bb15dde84b1bd16dc887171cb.zip |
xtrans: silence compiler warning regarding is_numeric
is_numeric is only needed if X11_t is defined.
Silences "warning: ‘is_numeric’ defined but not used [-Wunused-function]"
Diffstat (limited to 'nx-X11/lib/xtrans/Xtransint.h')
-rw-r--r-- | nx-X11/lib/xtrans/Xtransint.h | 3 |
1 files changed, 2 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 ( |