More consts.

This commit is contained in:
William McBrine
2006-02-27 08:19:33 +00:00
parent 451bd32e7b
commit c97f25ca85
2 changed files with 3 additions and 3 deletions

View File

@@ -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[]);

View File

@@ -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;