diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-11-02 11:14:34 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-11-02 11:14:34 +0100 |
commit | 7afe95535b10739d806e5d7c15a8a1e86093bf84 (patch) | |
tree | 4b373a64895cfedeb94a4e4877558cec09ee3831 /nx-X11/programs/Xserver/hw/nxagent/Utils.h | |
parent | 7b63809aefde4b45684a71d0a60e0c00b287837a (diff) | |
parent | dbf36ece31793840a16467fcac1245dfa6b587ab (diff) | |
download | nx-libs-7afe95535b10739d806e5d7c15a8a1e86093bf84.tar.gz nx-libs-7afe95535b10739d806e5d7c15a8a1e86093bf84.tar.bz2 nx-libs-7afe95535b10739d806e5d7c15a8a1e86093bf84.zip |
Merge branch 'uli42-pr/drop_holders' into 3.6.x
Attributes GH PR #856: https://github.com/ArcticaProject/nx-libs/pull/856
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Utils.h')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Utils.h | 11 |
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) |