aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Literals.h
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-01-18 14:03:54 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-05-07 14:57:15 +0200
commit6d96798865838744966b897bca6cc2db2d6cfaff (patch)
treec83b83c4193704ed067b2d85a15340a59d294521 /nx-X11/programs/Xserver/hw/nxagent/Literals.h
parent679e11182c22bcb2408daf784d32586537a9580b (diff)
downloadnx-libs-6d96798865838744966b897bca6cc2db2d6cfaff.tar.gz
nx-libs-6d96798865838744966b897bca6cc2db2d6cfaff.tar.bz2
nx-libs-6d96798865838744966b897bca6cc2db2d6cfaff.zip
Literals.h: always include in compilation
This change ensures Literals.h is always referenced during compilation, effectively hiding it from "unused file" detection we do occasionally to clean up the source code.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Literals.h')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Literals.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Literals.h b/nx-X11/programs/Xserver/hw/nxagent/Literals.h
index c0bb8c5d7..cef2904d1 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Literals.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Literals.h
@@ -23,6 +23,7 @@
/* */
/**************************************************************************/
+#ifdef TEST
/*
* Simple table used to translate a request
* opcode to the name of the X request.
@@ -210,4 +211,4 @@ static char *nxagentShmRequestLiteral[] =
"ShmGetImage",
"ShmCreatePixmap"
};
-
+#endif /* TEST */