summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils.c b/utils.c
index de046d2..19a3474 100644
--- a/utils.c
+++ b/utils.c
@@ -56,7 +56,7 @@ static void FreeResources ( WidgetResources * resources );
*/
void
-SetMessage(Widget w, char *str)
+SetMessage(Widget w, String str)
{
Arg args[1];
@@ -132,7 +132,7 @@ GetAllStrings(char *in, char sep, char ***out, int *num)
*/
void
-AddString(char ** str, char *add)
+AddString(char ** str, const char *add)
{
int len_str, len_add;
char * ptr;
@@ -745,7 +745,7 @@ CheckDatabase(XrmDatabase db, XrmQuarkList names, XrmQuarkList classes)
*/
XrmQuarkList
-Quarkify(char **list, char *ptr)
+Quarkify(char **list, const char *ptr)
{
int i;
char ** tlist;
@@ -853,7 +853,7 @@ ProtocolFailure(ProtocolStream *stream)
{
char buf[BUFSIZ];
unsigned char version;
- char* old_version_string;
+ const char* old_version_string;
if (!_XEditResGet8(stream, &version))
return(XtNewString(res_labels[35]));