From c97f25ca85563bb8022605e71d70e4c99d9e2a15 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Mon, 27 Feb 2006 08:19:33 +0000 Subject: [PATCH] More consts. --- x11/process/x11.h | 2 +- x11/process/x11common.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/x11/process/x11.h b/x11/process/x11.h index 3501a2d7..118c0bec 100644 --- a/x11/process/x11.h +++ b/x11/process/x11.h @@ -30,7 +30,7 @@ void SelectionOn(int, int); void SelectionExtend(int, int); void SelectionSet(void); -int write_socket(int, char *, int); +int write_socket(int, const char *, int); int read_socket(int, char *, int); int XCursesSetupX(const char *display_name, int argc, char *argv[]); diff --git a/x11/process/x11common.c b/x11/process/x11common.c index 2e32c5dc..67c7751d 100644 --- a/x11/process/x11common.c +++ b/x11/process/x11common.c @@ -7,7 +7,7 @@ #ifdef PDCDEBUG const char rcsid_x11common = - "$Id: x11common.c,v 1.11 2006/02/23 01:46:54 wmcbrine Exp $"; + "$Id: x11common.c,v 1.12 2006/02/27 08:19:33 wmcbrine Exp $"; #endif /* Variables specific to process port */ @@ -33,7 +33,7 @@ fd_set writefds; struct timeval socket_timeout; -int write_socket(int sock_num, char *buf, int len) +int write_socket(int sock_num, const char *buf, int len) { int start = 0, rc;