Module Name: xsrc
Committed By: mrg
Date: Fri May 31 06:46:39 UTC 2013
Modified Files:
xsrc/external/mit/xauth/dist: process.c
Log Message:
apply __UNCONST() if it exists.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.5 -r1.2 xsrc/external/mit/xauth/dist/process.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/xauth/dist/process.c
diff -u xsrc/external/mit/xauth/dist/process.c:1.1.1.5 xsrc/external/mit/xauth/dist/process.c:1.2
--- xsrc/external/mit/xauth/dist/process.c:1.1.1.5 Fri May 31 06:13:10 2013
+++ xsrc/external/mit/xauth/dist/process.c Fri May 31 06:46:39 2013
@@ -1894,7 +1894,10 @@ do_generate(const char *inputfilename, i
auth_in->name = DEFAULT_PROTOCOL;
}
else
- auth_in->name = protoname;
+#ifndef __UNCONST
+# define __UNCONST(x) x
+#endif
+ auth_in->name = __UNCONST(protoname);
auth_in->name_length = strlen(auth_in->name);
auth_in->data = authdata;
auth_in->data_length = authdatalen;