aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Utils.h
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-10-23 21:20:39 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-11-02 11:13:24 +0100
commitdbf36ece31793840a16467fcac1245dfa6b587ab (patch)
tree4b373a64895cfedeb94a4e4877558cec09ee3831 /nx-X11/programs/Xserver/hw/nxagent/Utils.h
parentcbc9f831cb2165a16075987c2c8698e58e9f7090 (diff)
downloadnx-libs-dbf36ece31793840a16467fcac1245dfa6b587ab.tar.gz
nx-libs-dbf36ece31793840a16467fcac1245dfa6b587ab.tar.bz2
nx-libs-dbf36ece31793840a16467fcac1245dfa6b587ab.zip
nxagent: drop Holder.[ch]
The only left code was nxagentCheckum() which was not compiling anyway.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Utils.h')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Utils.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Utils.h b/nx-X11/programs/Xserver/hw/nxagent/Utils.h
index e61a79144..c578549dc 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Utils.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Utils.h
@@ -44,6 +44,17 @@ static inline const char * validateString(const char *str) {
return str ? str : "(null)";
}
+/*
+ * nxagentChecksum used to be in Holder.c but was broken beyond
+ * repair. As Holder.c was removed we put it here as a stub until we
+ * need it for debugging.
+ */
+
+static inline const char *nxagentChecksum(char *data, int size)
+{
+ return "not_implemented";
+}
+
#define SAFE_XFree(what) do {if (what) {XFree(what); what = NULL;}} while (0)
#define SAFE_free(what) do {free(what); what = NULL;} while (0)