From dbf36ece31793840a16467fcac1245dfa6b587ab Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Wed, 23 Oct 2019 21:20:39 +0200 Subject: nxagent: drop Holder.[ch] The only left code was nxagentCheckum() which was not compiling anyway. --- nx-X11/programs/Xserver/hw/nxagent/Utils.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'nx-X11/programs/Xserver/hw/nxagent/Utils.h') 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) -- cgit v1.2.3